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
The Content and PartialContent methods deal with the case where the caller knows what structure is expected within the body, but sometimes the structure of a body is just a free-form set of attributes that the caller needs to enumerate. The idea here is that the block in question must contain only attributes, and no child blocks. For JSON this just entails interpreting every property as an attribute. For native syntax later this will mean producing an error diagnostic if any blocks appear within the body. |
||
---|---|---|
zcl | ||
zcled | ||
zclparse | ||
LICENSE |