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).
Package | Signatures | Date | Pharext | ||
---|---|---|---|---|---|
jsonnet 1.3.1 |
⤋ phar (780.1 KB) |
# rsa.sig | # gpg.asc | 2018-05-26 | v4.1.2 |
⤋ phar.gz (155.4 KB) |
# rsa.sig | # gpg.asc | 2018-05-26 | v4.1.2 | |
⤋ phar.bz2 (133.5 KB) |
# rsa.sig | # gpg.asc | 2018-05-26 | v4.1.2 | |
jsonnet 1.3.0 |
⤋ phar (779.7 KB) |
# rsa.sig | # gpg.asc | 2018-03-28 | v4.1.2 |
⤋ phar.gz (155.4 KB) |
# rsa.sig | # gpg.asc | 2018-03-28 | v4.1.2 | |
⤋ phar.bz2 (133.5 KB) |
# rsa.sig | # gpg.asc | 2018-03-28 | v4.1.2 | |
jsonnet 1.2.0 |
⤋ phar (764.6 KB) |
# rsa.sig | # gpg.asc | 2017-11-27 | v4.1.2 |
⤋ phar.gz (150.3 KB) |
# rsa.sig | # gpg.asc | 2017-11-27 | v4.1.2 | |
⤋ phar.bz2 (128.9 KB) |
# rsa.sig | # gpg.asc | 2017-11-27 | v4.1.2 | |
jsonnet 1.1.1 |
⤋ phar (674.1 KB) |
# rsa.sig | # gpg.asc | 2016-08-06 | v4.1.2 |
⤋ phar.gz (133.8 KB) |
# rsa.sig | # gpg.asc | 2016-08-06 | v4.1.2 | |
⤋ phar.bz2 (115.7 KB) |
# rsa.sig | # gpg.asc | 2016-08-06 | v4.1.2 | |
jsonnet 1.1.0 |
⤋ phar (673.6 KB) |
# rsa.sig | # gpg.asc | 2016-07-13 | v4.1.2 |
⤋ phar.gz (133.7 KB) |
# rsa.sig | # gpg.asc | 2016-07-13 | v4.1.2 | |
⤋ phar.bz2 (115.5 KB) |
# rsa.sig | # gpg.asc | 2016-07-13 | v4.1.2 | |
jsonnet 1.0.0 |
⤋ phar (441.0 KB) |
# rsa.sig | # gpg.asc | 2015-05-31 | v4.1.2 |
⤋ phar.gz (95.4 KB) |
# rsa.sig | # gpg.asc | 2015-05-31 | v4.1.2 | |
⤋ phar.bz2 (73.6 KB) |
# rsa.sig | # gpg.asc | 2015-05-31 | v4.1.2 |
Show 4 older version(s) » Show less versions «
curl -sS \
-O https://replicator.pharext.org/phars/jsonnet/Jsonnet-1.3.1.ext.phar \
-O https://replicator.pharext.org/sigs/jsonnet/Jsonnet-1.3.1.ext.phar.sig \
-O https://replicator.pharext.org/sigs/jsonnet/Jsonnet-1.3.1.ext.phar.asc
curl -sSO https://replicator.pharext.org/replicator.pub
openssl dgst \
-verify replicator.pub \
-signature Jsonnet-1.3.1.ext.phar.sig \
Jsonnet-1.3.1.ext.phar
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnzsDXNox5V0V9GLcnXEu kxnhFs9+/AMm//1qJAoNwP6sgmYShuyI3NDZzCmT7tOIcpqW0I4P8D1Psrftyqbt spedAvyOLCLZXaOuE130aMlvfqEiO+s8ZVZL8aHLE/orLbpOexEs33a1j6shl5C6 MoojzK3uYccL4XJfj0t2nrC+XMfWE9oQGvyLZv3tNCzH4Oy7knWVVy10EKbKgPft izCFR+0mPYw35RN3gAGrug+khnVRMRNpS7B0uZ6E29Bgsrud9l91mVbrL+DaoaSa IFGeYuFGe2ZpHUfxf16S0w7ybPrrJJsD6cYOtwXjRZo+4ux6PdKZ+m3hnKWoj9IF OwIDAQAB -----END PUBLIC KEY-----
curl -sSO https://replicator.pharext.org/4093AEF6.pub
gpg --import 4093AEF6.pub
gpg --verify Jsonnet-1.3.1.ext.phar.asc \
Jsonnet-1.3.1.ext.phar
-----BEGIN PGP PUBLIC KEY BLOCK----- mQENBFcBXgsBCACfOwNc2jHlXRX0YtydcS6TGeEWz378Ayb//WokCg3A/qyCZhKG 7Ijc0NnMKZPu04hympbQjg/wPU+yt+3Kpu2yl50C/I4sItldo64TXfRoyW9+oSI7 6zxlVkvxocsT+istuk57ESzfdrWPqyGXkLoyiiPMre5hxwvhcl+PS3aesL5cx9YT 2hAa/Itm/e00LMfg7LuSdZVXLXQQpsqA9+2LMIVH7SY9jDflE3eAAau6D6SGdVEx E2lLsHS5noTb0GCyu532X3WZVusv4NqhpJogUZ5i4UZ7ZmkdR/F/XpLTDvJs+usk mwPpxg63BeNFmj7i7Ho90pn6beGcpaiP0gU7ABEBAAG0K1BIQVJleHQgUmVwbGlj YXRvciA8cmVwbGljYXRvckBwaGFyZXh0Lm9yZz6JATcEEwEKACEFAlcBXgsCGwMF CwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQZJhrlUCTrvbYGAgAi120YHruidld uPTUS05/ZLoSn3orKkmkskOsjBrUqJvQHx1s8mqJpNJdbIrgPIxQPHauiE6Fj72q uv6TsVRxM+7VjiCHTbHmDheP5Zcyac7Nd/e62DsCYP7LAAx7MHbQvki6XQg4EsQZ cXMKRYuuizJxNGVUeZpusY5WXmc5PRIigsI4eh/2l96IK/eqTDSZiDUwv9ze+HMf JxOunBZVebYUQ3RYEWx1NseInxbiAnEdGM7phZH43jkohxPLROr3nWBmrJbBqULn m6M5fRucJoldU8VIzMdy0xxu+3PuX8aug96njK448r53wjb7yRf6WLonwjlFqTWq 0tZzZR3Ndw== =avra -----END PGP PUBLIC KEY BLOCK-----