World’s Most Prominent Structured Data Language
- strings (one or more Unicode characters, but no line returns)
- numbers (including scientific notation)
Simple formats can be used in one of the two compound collection types:
- objects (key:value pairs)
- arrays (simple lists of values)
This simplicity allows JSON to be used universally by all programming langauges to read and write structured data.
Human Readable, Yes. Writable? Not Really.
JSON was made to fast data storage and interchange between programs, not really humans. Being human-readable is a plus because humans can quickly see what is going on. But humans have a harder time writing it because it lacks any support for line returns. All string data is one big long line. For this reason YAML, which is 100% backward compatible with JSON, is preferred by the industry for data that must be written and maintained by humans.
JSON saved the world from XML. Be very grateful.