json

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 6 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(na ipld.NodeAssembler, r io.Reader) error

Decode deserializes data from the given io.Reader and feeds it into the given ipld.NodeAssembler. Decode fits the ipld.Decoder function interface.

This is the function that will be registered in the default multicodec registry during package init time.

func Encode

func Encode(n ipld.Node, w io.Writer) error

Encode walks the given ipld.Node and serializes it to the given io.Writer. Encode fits the ipld.Encoder function interface.

This is the function that will be registered in the default multicodec registry during package init time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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