Login | Packages | Support | Bugs 

Top Level :: Web Services

jsonnet

Package Information
Summary The Google JsonNet for PHP.
Maintainers Chitao Gao <neeke@php.net> (lead) [details]
License Apache2.0
Description 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).
Homepage https://github.com/Neeke/Jsonnet-PHP

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ]
[ Report new bug ]

Available Releases
Version State Release Date Downloads  
1.1.1 stable 2016-08-07 JsonNet-1.1.1.tgz (103.4kB) [Changelog]
1.1.0 stable 2016-07-14 JsonNet-1.1.0.tgz (103.3kB) [Changelog]
1.0.0 stable 2015-05-31 JsonNet-1.0.0.tgz (65.4kB) [Changelog]


Dependencies
Release 1.1.1: PHP Version: PHP 5.2.0 or newer
PEAR Package: PEAR 1.4.0 or newer
Release 1.1.0: PHP Version: PHP 5.2.0 or newer
PEAR Package: PEAR 1.4.0 or newer
Release 1.0.0: PHP Version: PHP 5.2.0 or newer
PEAR Package: PEAR 1.4.0 or newer
PRIVACY POLICY | CREDITS
Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Thu Mar 26 06:22:20 2015 UTC
Bandwidth and hardware provided by: pair Networks