Files
meteor/packages/ejson
Edimar Cardoso 97813d63fe Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-08 10:19:38 -03:00
..
2019-12-20 08:15:08 -04:00
2022-09-09 14:04:37 +02:00
2022-09-09 14:04:37 +02: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.