jsonutil 0.1.2

Util to parse/serialize/deserialize JSON schemas, BSON schemas and related structs
Documentation

jsonutil

Library to handle JSON schema and BSON schema types.

Document validation on MongoDB uses an hybrid form of JSON schema and BSON schema to implement runtime validation of data inserted/updated on a database collection.

JSON schema is too limited to express all database native types which are thus expressed by BSON types. MongoDB allows to define data schema and validation, when possible, as JSON type using the key type and enhance with the key bsonType.