json

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const JSONTagName = "json"

JSONTagName is the name of the `"json"` tag.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct{}

Decoder is a decoder that knows how to work with text encoded in JSON

func (*Decoder) Decode

func (d *Decoder) Decode(r io.Reader, t *dials.Type) (reflect.Value, error)

Decode is a decoder that decodes the JSON from an io.Reader into the appropriate struct.

Directories

Path Synopsis
Package jsontypes contains helper types used by the JSON and Cue decoders to facilitate more natural decoding.
Package jsontypes contains helper types used by the JSON and Cue decoders to facilitate more natural decoding.

Jump to

Keyboard shortcuts

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