
SE Radio 570: Stanisław Barzowski on the jsonnet Language
Software Engineering Radio - the podcast for professional software developers
00:00
How to Run a JSON Program
The most important one I'd say is functions and function calls so you can just define your own function which effectively parameterized part of your JSON whenever you use it in multiple places. Variables are even more basic than like you are just specifying one specific thing. So unlike a general purpose programming language you don't have to say print F or any type of output command the purpose of the program is to run to produce its output which isJSON by default. There is also a library API so you can also call it directly from your programs but it's pretty much it.
Transcript
Play full episode