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
2017-05-13 08:51:32 -07:00
Description
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
2.5 MiB
Languages
Go 83.7%
Ragel 10.2%
reStructuredText 4.4%
Ruby 0.5%
Python 0.3%
Other 0.8%