Google News
logo
Meteor.js - Interview Questions
What is Meteor EJSON?
EJSON is an extension of JSON syntax that supports Date and Binary types. The date and binary can be deserialize using the parse method.

For example :
if (Meteor.isClient) {  
   var ejsonDate = '{"$date": 1455029631493}';  
   var myDate = EJSON.parse(ejsonDate);  
   console.log(myDate);  
}
Advertisement