aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go')
-rw-r--r--vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go b/vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go
new file mode 100644
index 0000000..1eb99f2
--- /dev/null
+++ b/vendor/github.com/zclconf/go-cty/cty/msgpack/doc.go
@@ -0,0 +1,14 @@
1// Package msgpack provides functions for serializing cty values in the
2// msgpack encoding, and decoding them again.
3//
4// If the same type information is provided both at encoding and decoding time
5// then values can be round-tripped without loss, except for capsule types
6// which are not currently supported.
7//
8// If any unknown values are passed to Marshal then they will be represented
9// using a msgpack extension with type code zero, which is understood by
10// the Unmarshal function within this package but will not be understood by
11// a generic (non-cty-aware) msgpack decoder. Ensure that no unknown values
12// are used if interoperability with other msgpack implementations is
13// required.
14package msgpack