diff options
Diffstat (limited to 'vendor/github.com/zclconf/go-cty/cty/json/doc.go')
-rw-r--r-- | vendor/github.com/zclconf/go-cty/cty/json/doc.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/zclconf/go-cty/cty/json/doc.go b/vendor/github.com/zclconf/go-cty/cty/json/doc.go new file mode 100644 index 0000000..8916513 --- /dev/null +++ b/vendor/github.com/zclconf/go-cty/cty/json/doc.go | |||
@@ -0,0 +1,11 @@ | |||
1 | // Package json provides functions for serializing cty types and values in | ||
2 | // JSON format, and for decoding them again. | ||
3 | // | ||
4 | // Since the cty type system is a superset of the JSON type system, | ||
5 | // round-tripping through JSON is lossy unless type information is provided | ||
6 | // both at encoding time and decoding time. Callers of this package are | ||
7 | // therefore suggested to define their expected structure as a cty.Type | ||
8 | // and pass it in consistently both when encoding and when decoding, though | ||
9 | // default (type-lossy) behavior is provided for situations where the precise | ||
10 | // representation of the data is not significant. | ||
11 | package json | ||