Files
meteor/packages/ejson
Luigi Pinca efc8a3525d Fix variable scope (#10526)
Currenlty the `v` variable is only visible in the `if` block but it is
also used in the outer scope. Move the declaration to the outer scope.
2019-04-26 17:40:53 -04:00
..
2017-08-02 15:33:15 -04:00
2016-08-30 15:40:14 -07:00
2019-04-26 17:40:53 -04:00

ejson

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.