ejson extends JSON to support more types, including user-defined types.
ejson-extras adds support for additional types not included in ejson, such
as the native Map. ejson-extras also enables importing EJSON-encoded JSON
files.
Many custom types will require a peer dependancy. An example of this is
jsQuantities.js, in this case we use try-require to import the peer library.
If the peer library isn't found, ejson-extras will skip adding support for that
particular type.
Changes
1.0.15 - Fixed Map EJSON stringify/parsing bug.
1.0.11 - Fixed patching of 'require' inside Meteor.
1.0.10 - Fixed ejson detection and import inside Meteor.
1.0.9 - Reverted to standard try/catch syntax.
1.0.8 - Handles multiple calls to apply().
1.0.7 - Added Meteor autodetection for patching of bundled EJSON.
1.0.6 - Removed dependancy on fs to enable browser usage of ejson-extras.