jsoncdc

package
v0.0.0-...-bea91e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package jsoncdc provides support for JSON encoding and decoding of Cadence values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v cadence.Value) ([]byte, error)

Marshal encodes the cadence value into a canonicalized JSON form.

func Unmarshal

func Unmarshal(data []byte, options ...jsoncdc.Option) (cadence.Value, error)

Unmarshal decodes the given data into a cadence value.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL