aboutsummaryrefslogtreecommitdiff
path: root/node_modules/fast-json-stable-stringify/example/nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/fast-json-stable-stringify/example/nested.js')
-rw-r--r--node_modules/fast-json-stable-stringify/example/nested.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/fast-json-stable-stringify/example/nested.js b/node_modules/fast-json-stable-stringify/example/nested.js
new file mode 100644
index 0000000..9a672fc
--- /dev/null
+++ b/node_modules/fast-json-stable-stringify/example/nested.js
@@ -0,0 +1,3 @@
+var stringify = require('../');
+var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+console.log(stringify(obj));