Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Jsonnet

< >

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

#200on PLDB 10Years Old 1kRepos
Download source code:
git clone https://github.com/google/jsonnet
Homepage · REPL · Source Code

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 Example Token
Comments ✓ // A comment
MultiLine Comments ✓ /* A comment */ /* */
Line Comments ✓ // A comment //
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll