Sha256: e8988db46cd235ac7e62dfde5467a9a4d654186e120d5f3f45918891bb0ae0b1
Contents?: true
Size: 472 Bytes
Versions: 53
Compression:
Stored size: 472 Bytes
Contents
// ======================================================================== // SC.json Base Tests // ======================================================================== /*globals module test ok isObj equals expects */ module("Json Module"); test("Encoding and decoding object graphs",function(){ var tester = { foo: [1,2,3], bar: { a: "a", b: "b" } }; var str = SC.json.encode(tester); var result = SC.json.decode(str); same(result,tester, "round trips"); });
Version data entries
53 entries across 53 versions & 3 rubygems