2 ms·
Look at MongoDBs "extended json". They serialize this as { "$numberLong": "10000000000000001" }. With a custom extension to the json-schema adding property bso
by Too 5y ago
Look at MongoDBs "extended json". They serialize this as { "$numberLong": "10000000000000001" }.
With a custom extension to the json-schema adding property bsonType:long, instead of type:int. Along with a few other data types like datetimes, uuid, regex. It can be integrated with custom hooks in many schema validators.