1.0.1 • Published 5 years ago
txon v1.0.1
TXON

TXON, not a new serialization format, is also JSON, but the content is somewhat different from the result generated from native JSON, that makes it more expressive than the native JSON.
Why
- Supports references, saves more space.
- Supports circular structure, no more such error message:
Uncaught TypeError: Converting circular structure to JSON
. - Supports custom parsers to serialize/deserialize anything.
Currently supported by default:
- anything JSON supported
Date
NaN
and ±Infinity
ArrayBuffer
andTypedArray
s
Installation
npm install txon
Usage
Please refer to the unit test codes in /test/
directory.
1.0.1
5 years ago
1.0.0-rc.8
5 years ago
1.0.0-rc.7
5 years ago
1.0.0-rc.6
5 years ago
1.0.0-rc.5
5 years ago
1.0.0-rc.4
5 years ago
1.0.0-rc.3
5 years ago
1.0.0-rc.2
5 years ago
1.0.0-rc.1
5 years ago
1.0.0
5 years ago