2019-03-20 01:54:16 +02:00

19 lines
290 B
Nim

import
serialization/errors
export
errors
type
JsonMode* = enum
Relaxed
Portable
JsonError* = object of SerializationError
const
defaultJsonMode* = JsonMode.Relaxed
minPortableInt* = -9007199254740991 # -2**53 + 1
maxPortableInt* = 9007199254740991 # +2**53 - 1