# Functions
Decode returns a Cadence value decoded from its JSON-encoded representation.
Encode returns the JSON-encoded representation of the given value.
MustEncode returns the JSON-encoded representation of the given value, or panics if the value cannot be represented as JSON.
NewDecoder initializes a Decoder that will decode JSON-encoded bytes from the given io.Reader.
NewEncoder initializes an Encoder that will write JSON-encoded bytes to the given io.Writer.
Prepare traverses the object graph of the provided value and constructs a struct representation that can be marshalled to JSON.
No description provided by the author
WithAllowUnstructuredStaticTypes returns a new Decoder Option which enables or disables if the decoding of a static type as a type ID (cadence.TypeID) is allowed.
WithBackwardsCompatibility returns a new Decoder Option which enables backwards compatibility mode, where the decoding of old versions of the JSON encoding is allowed.
# Type aliases
No description provided by the author
No description provided by the author