mongodb-extjson
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "mongodb-extjson", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "MongoDB Extended JSON library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -41,3 +41,3 @@ # MongoDB Extended JSON Library | ||
console.log(ExtJSON.stringify(doc, null, 2)); | ||
console.log(extJSON.stringify(doc, null, 2)); | ||
``` | ||
@@ -64,7 +64,7 @@ | ||
// Serialize the document | ||
var text = ExtJSON.stringify(doc, null, 2); | ||
var text = extJSON.stringify(doc, null, 2); | ||
// Deserialize using strict mode (returning BSON type objects) | ||
console.dir(ExtJSON.parse(text, {strict: true})); | ||
console.dir(extJSON.parse(text, {strict: true})); | ||
// Deserialize using strict mode (converting to native JS types where possible) | ||
console.dir(ExtJSON.parse(text, {strict: true})); | ||
console.dir(extJSON.parse(text, {strict: true})); | ||
``` | ||
@@ -87,3 +87,3 @@ | ||
console.log(ExtJSON.stringify(doc, null, 2)); | ||
console.log(extJSON.stringify(doc, null, 2)); | ||
``` | ||
@@ -109,7 +109,7 @@ | ||
// Serialize the document | ||
var text = ExtJSON.stringify(doc, null, 2); | ||
var text = extJSON.stringify(doc, null, 2); | ||
// Deserialize using strict mode (returning BSON type objects) | ||
console.dir(ExtJSON.parse(text, {strict: true})); | ||
console.dir(extJSON.parse(text, {strict: true})); | ||
// Deserialize using strict mode (converting to native JS types where possible) | ||
console.dir(ExtJSON.parse(text, {strict: true})); | ||
console.dir(extJSON.parse(text, {strict: true})); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package