parse

package
v0.0.0-...-8b81d4d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: MIT, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	NotExist = ValueType(iota)
	String
	Number
	Object
	Array
	Boolean
	Null
	Unknown
)

Variables

This section is empty.

Functions

func ObjectEach

func ObjectEach(data []byte, callback func(key []byte, value []byte, dataType ValueType, offset int) error) (err error)

Export this function from the JSONParser library. The reason for this is to allow zero-allocation object traversal. However, this is the only function requested and no need for a strict dependency. See License for more information.

Types

type ValueType

type ValueType int

Data types available in valid JSON data.

Jump to

Keyboard shortcuts

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