Files
meteor/packages/ejson
Jan Küster 82fcb6adb5 fix(ejson): added extra tests for EJSON.equals
Object and Array were previously mistaken, which is why we add some extra tests for them here. Related: #11866 and #11864
2022-02-06 17:48:16 +01:00
..
2019-12-20 08:15:08 -04:00
2019-12-20 08:15:27 -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.