Sha256: f128a54a365f398e31e9fc1bb47425697f75a4556402b407a53f7d1e9d55ca06
Contents?: true
Size: 398 Bytes
Versions: 5
Compression:
Stored size: 398 Bytes
Contents
describe("JSON.parse", function () { it('should parse', function () { expect(JSON.parse('{"a":"Test\'s"}')).toEqual({ a: "Test's" }) expect(JSON.parse('{"a":"say \\"hello\\""}')).toEqual({ a: 'say "hello"' }); expect(JSON.parse('{"double-backslash-in-double-quote":"\\"\\\\\\\\\\""}')).toEqual({ 'double-backslash-in-double-quote': '"\\\\"' }); }) })
Version data entries
5 entries across 5 versions & 1 rubygems