jetjson

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDecoder

type IDecoder[T any] interface {
	Next() bool
	Read(f func(item T) error) error
}

func Decoder

func Decoder[T any](buf io.Reader, level int) IDecoder[T]

type Iterator

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

func NewIterator

func NewIterator(reader io.Reader) *Iterator

func (*Iterator) End

func (b *Iterator) End() bool

func (*Iterator) Error

func (b *Iterator) Error() error

func (*Iterator) Next

func (b *Iterator) Next() bool

func (*Iterator) ReadKey

func (b *Iterator) ReadKey() ([]byte, bool)

func (*Iterator) ReadValue

func (b *Iterator) ReadValue() ([]byte, bool)

func (*Iterator) Start

func (b *Iterator) Start() bool

Jump to

Keyboard shortcuts

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