Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Jsonnet

< >

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

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

Try now: Web

Jsonnet - The data templating language


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 · Resources · Acknowledgements · Part of the World Wide Scroll