json

package
v0.0.0-...-271b4c5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2018 License: BSD-3-Clause Imports: 10 Imported by: 20

Documentation

Index

Constants

View Source
const (
	InvalidUtf8Ignore     = 0x100000
	InvalidUtf8Substitute = 0x200000
)

Variables

View Source
var JsonSerializable = &phpobj.ZClass{
	Type: phpv.ZClassTypeInterface,
	Name: "JsonSerializable",
}

> class JsonSerializable

Functions

This section is empty.

Types

type JsonDecOpt

type JsonDecOpt int
const (
	ObjectAsArray JsonDecOpt = 1 << iota
	BigintAsString
)

type JsonEncOpt

type JsonEncOpt int
const (
	HexTag JsonEncOpt = 1 << iota
	HexAmp
	HexApos
	HexQuot
	ForceObject
	NumericCheck
	UnescapedSlashes
	PrettyPrint
	UnescapedUnicode
	PartialOutputOnError
	PreserveZeroFraction
	UnescapedEOL
)

func (JsonEncOpt) String

func (i JsonEncOpt) String() string

type JsonError

type JsonError int
const (
	ErrNone JsonError = iota
	ErrDepth
	ErrStateMismatch
	ErrCtrlChar
	ErrSyntax
	ErrUtf8
	ErrRecursion
	ErrInfOrNan
	ErrUnsupportedType
	ErrInvalidPropName
	ErrUtf16
)

func (JsonError) Error

func (e JsonError) Error() string

func (JsonError) String

func (i JsonError) String() string

Jump to

Keyboard shortcuts

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