Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BooleanDec ¶
type BooleanDec func(Bool)
type Callbacks ¶
type Callbacks struct {
OnNumber NumberDec
OnString StringDec
OnBoolean BooleanDec
OnNull NullDec
OnRaw func(name, value Pos)
// contains filtered or unexported fields
}
type Pos ¶
func ScanArray ¶
ScanArray according to the spec at http://www.json.org/ but ignoring nested objects and arrays
func ScanObject ¶
ScanObject according to the spec at http://www.json.org/ but ignoring nested objects and arrays
type SyntaxError ¶
type SyntaxError struct {
Offset int
Message string
SubErr *SyntaxError
}
func (*SyntaxError) Error ¶
func (s *SyntaxError) Error() string
Click to show internal directories.
Click to hide internal directories.