diff --git a/README.md b/README.md index 12995ee..e4266fb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # jsonnet The Google Jsonnet for PHP -### Tutorial -This page is a guided tour through the 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. +### Google Jsonnet Tutorial +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). +The git of Google JsonNet: https://github.com/google/jsonnet ### Install Jsonnet for PHP ``` diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..d0fccc7 --- /dev/null +++ b/package.xml @@ -0,0 +1,108 @@ + + + JsonNet + pecl.php.net + 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). + + + Chitao Gao + neeke + neeke@php.net + yes + + 2015-05-31 + + + 1.0.0 + 1.0.0 + + + stable + stable + + Apache2.0 + + - First version. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.2.0 + + + 1.4.0 + + + + jsonnet + + + + 2015-05-31 + + + 1.0.0 + 1.0.0 + + + stable + stable + + Apache2.0 + + - First version. + + + + \ No newline at end of file