fork of https://github.com/hashicorp/hcl because issue : https://github.com/hashicorp/hcl/issues/290 these code permit use of "nested" field decoding which is just composite struct
Go to file
Martin Atkins e7d33665d0 json: allow "//" keys to be used as comments in bodies
Since the native syntax requires that attribute names and block types
be identifiers, there is no way for "//" to be a valid symbol in a body.
Therefore we can special-case it here as an ignored property name that
users can then use for comments.

This special handling intentionally does not apply to objects representing
zcl object expressions, since it _is_ valid to have non-identifier keys
there and so "//" may be a legitimate object key for some applications.
2017-06-17 10:17:05 -07:00
gozcl Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00
zcl json: allow "//" keys to be used as comments in bodies 2017-06-17 10:17:05 -07:00
zcldec zclsyntax: require newlines after block items 2017-06-09 08:19:47 -07:00
zcled Relocate into the "zclconf" github account 2017-05-27 17:33:09 -07:00
zclparse zclparse: keep ParseZCL results in the files registry 2017-06-04 09:02:41 -07:00
zclwrite zclwrite: Body.FindAttribute implementation 2017-06-11 18:24:15 -07:00
.travis.sh build: capture code coverage stats during Travis-CI run 2017-06-02 08:27:20 -07:00
.travis.yml build: stop running Travis-CI test run on Go 1.7.x 2017-06-02 08:27:20 -07:00
LICENSE LICENSE 2017-05-13 08:51:32 -07:00