mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8 got published by a partial run of the publish-release script, but then the publish-release script thought meteor-tool changed after that, and I didn't want to republish it as something like 1.4.2-1-beta.8.
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:
- Date - JavaScript
Date - Binary - JavaScript
Uint8Arrayor the result ofEJSON.newBinary - User-defined types - see
EJSON.addType
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.