jsonnet 1.0.0

The Google Jsonnet for PHP.


The Google Jsonnet for PHP.

Jsonnet language, from its most basic features to its powerful object model, punctuated with examples drawn from
the world of cocktails. These examples are meant to be fun, and although a little contrived, do not restrict our
thinking to any one particular application of Jsonnet.

Caveat: Note that Jsonnet unparses JSON in a simple way. In particular, it alphabetically reorders object fields
in its output. This is natural and compatible with JSON, since if order is meaningful, an array of pairs should
be used instead of an object. Also, unparsing JSON using a canonical ordering of field names makes it possible
to use diff to compare outputs. However, the example output on this page has been manually re-ordered in order
to allow easier visual comparison to the given input. The whitespace of the output has also been tweaked to make
it fit more neatly on the page. So, if you run these examples yourself, the output might be different (but
equivalent).

License: Apache2.0

Changes

- First version.