Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Although there are similar data structures, not all of them are supersets nor subsets of the data structures of JSON. For example, some data types that JSON lacks are:

- Integers (including 64-bit integers and longer)

- Non-finite floating point (Infinity, NaN)

- Keys of types other than strings

- Non-Unicode strings (e.g. byte sequences, TRON code, etc)

- Date/time

- Links

Additionally, they may differ of whether or not the order of keys should be retained.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: