Traverse the object and convert any unsupported type to a mongodb capable type. It also use class-json to serialize an object. For example, bigint to
class-json
bigint
Decimal128
number
string
Object to walk through
Optionaly the Type Declaration, it could contain Meta data for json serialization.
Generated using TypeDoc
Traverse the object and convert any unsupported type to a mongodb capable type. It also use
class-json
to serialize an object. For example,bigint
toDecimal128
in case '> MAX_SAFE_INTEGER'number
in case '< MAX_SAFE_INTEGER'string
any other case