Google has quietly unveiled a new open source programming language that generates and extends JSON. Called Jsonnet, the language aims to make it easier to create JavaScript Object Notation (JSON).
“By adding new constructs between the gaps of existing JSON syntax, Jsonnet adds useful features without breaking backwards compatibility,” blogged Google’s Dave Cunningham. “Any valid JSON is also a valid Jsonnet program that simply emits that JSON unchanged, and existing systems that consume JSON (or its cousin YAML) can be easily modified to accept data in the full Jsonnet language. As such, Jsonnet is an example of a templating language, but one specifically designed for JSON data and less error-prone than other techniques.”
More information about the language is available through Github.