Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blixt/js-json
A light-weight, ECMAScript 5 compliant library for encoding/decoding JSON.
https://github.com/blixt/js-json
Last synced: about 1 month ago
JSON representation
A light-weight, ECMAScript 5 compliant library for encoding/decoding JSON.
- Host: GitHub
- URL: https://github.com/blixt/js-json
- Owner: blixt
- Created: 2010-04-22T20:35:25.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-04-22T20:48:05.000Z (over 14 years ago)
- Last Synced: 2024-04-21T10:12:34.283Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON library
## Information
A light-weight, ECMAScript 5 compliant library for serializing data to JSON and
back.Nothing will be done if a `JSON` object is already defined (for example, if a
browser has native support for JSON). Note that some libraries define a global
`JSON` object, but do not adhere to the ECMAScript 5 standard and use other
method names than `parse` and `stringify`. To avoid this, simply do not use
that library and this library together.## Example
var json = JSON.stringify({abc: 123, def: "ghi", jkl: [4, 5, 6]});
// Same result as:
var json = '{"abc":123,"def":"ghi","jkl":[4,5,6]}';## MIT license
This project is licensed under an MIT license.
Copyright (c) 2009-2010 Andreas Blixt