Sha256: 42e5b819b820f3444ae5b4e45b7ab42305517364076b634482d3c99b45015d23

Contents?: true

Size: 231 Bytes

Versions: 7

Compression:

Stored size: 231 Bytes

Contents

var test = require('tape');
var stringify = require('../');

test('simple object', function (t) {
    t.plan(1);
    var obj = { c: 6, b: [4,5], a: 3, z: null };
    t.equal(stringify(obj), '{"a":3,"b":[4,5],"c":6,"z":null}');
});

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.6 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.5 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.4 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.3 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.2 test/dummy/node_modules/json-stable-stringify/test/str.js
brwy_rails-0.0.1 test/dummy/node_modules/json-stable-stringify/test/str.js