| 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 jsonscip-go gomod github.com/zclconf/go-cty . `github.com/zclconf/go-cty/cty/json`/ |