Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Jsonnet

< >

Jsonnet is a data notation created in 2014 by Dave Cunningham.

#536on PLDB 10Years Old 1kRepos
Download source code:
git clone https://github.com/google/jsonnet

Try now: Web


Example from the web:
// A function that returns an object. local Person(name='Alice') = { name: name, welcome: 'Hello ' + name + '!', }; { person1: Person(), person2: Person('Bob'), }

Language features

Feature Supported Token Example
Comments ✓
// A comment
MultiLine Comments ✓ /* */
/* A comment
*/
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 626 · feedback@pldb.io