jsonio

package
v0.0.0-...-7ab9190 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(w io.Writer) Encoder

func (*Encoder) Close

func (enc *Encoder) Close() error

func (*Encoder) Encode

func (enc *Encoder) Encode(v interface{}) error

type JsonReadCloser

type JsonReadCloser interface {
	JsonReader
	io.Closer
}

func OpenRead

func OpenRead(r io.ReadCloser) (JsonReadCloser, error)

type JsonReader

type JsonReader interface {
	Read(interface{}) error
}

Jump to

Keyboard shortcuts

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