0.1.0 • Published 3 years ago

@machinat/ejson v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ejson

This package is derived from EJSON module of Meteor. You can check the original source at: Source code of released version | Source code of development version


EJSON is an extension of JSON to support more types. It supports all JSON-safe types, as well as:

All EJSON serializations are also valid JSON. For example an object with a date and a binary buffer would be serialized in EJSON as:

{
  "d": {"$date": 1358205756553},
  "b": {"$binary": "c3VyZS4="}
}

For more details, see the EJSON section of the Meteor docs.