Versions in this module Expand all Collapse all v1 v1.0.0 Apr 24, 2024 Changes in this version + type Iterator struct + Attachment interface{} + Error error + func NewIterator() *Iterator + func Parse(reader io.Reader, bufSize int) *Iterator + func ParseBytes(input []byte) *Iterator + func ParseString(input string) *Iterator + func (iter *Iterator) CurrentBuffer() string + func (iter *Iterator) ReadArray() (ret bool) + func (iter *Iterator) ReadArrayCB(callback func(*Iterator) bool) (ret bool) + func (iter *Iterator) ReadBigFloat() (ret *big.Float) + func (iter *Iterator) ReadBigInt() (ret *big.Int) + func (iter *Iterator) ReadBool() (ret bool) + func (iter *Iterator) ReadFloat32() (ret float32) + func (iter *Iterator) ReadFloat64() (ret float64) + func (iter *Iterator) ReadInt() int + func (iter *Iterator) ReadInt16() (ret int16) + func (iter *Iterator) ReadInt32() (ret int32) + func (iter *Iterator) ReadInt64() (ret int64) + func (iter *Iterator) ReadInt8() (ret int8) + func (iter *Iterator) ReadMapCB(callback func(*Iterator, string) bool) bool + func (iter *Iterator) ReadNil() (ret bool) + func (iter *Iterator) ReadNumber() (ret json.Number) + func (iter *Iterator) ReadObject() (ret string) + func (iter *Iterator) ReadObjectCB(callback func(*Iterator, string) bool) bool + func (iter *Iterator) ReadString() (ret string) + func (iter *Iterator) ReadStringAsSlice() (ret []byte) + func (iter *Iterator) ReadUint() uint + func (iter *Iterator) ReadUint16() (ret uint16) + func (iter *Iterator) ReadUint32() (ret uint32) + func (iter *Iterator) ReadUint64() uint64 + func (iter *Iterator) ReadUint8() (ret uint8) + func (iter *Iterator) ReportError(operation string, msg string) + func (iter *Iterator) Reset(reader io.Reader) *Iterator + func (iter *Iterator) ResetBytes(input []byte) *Iterator + func (iter *Iterator) Skip() + func (iter *Iterator) SkipAndAppendBytes(buf []byte) []byte + func (iter *Iterator) SkipAndReturnBytes() []byte + func (iter *Iterator) WhatIsNext() ValueType + type Stream struct + Attachment interface{} + Error error + func NewStream(out io.Writer, bufSize, indentStep int) *Stream + func (stream *Stream) Available() int + func (stream *Stream) Buffer() []byte + func (stream *Stream) Buffered() int + func (stream *Stream) Flush() error + func (stream *Stream) Reset(out io.Writer) + func (stream *Stream) SetBuffer(buf []byte) + func (stream *Stream) Write(p []byte) (nn int, err error) + func (stream *Stream) WriteArrayEnd() + func (stream *Stream) WriteArrayStart() + func (stream *Stream) WriteBool(val bool) + func (stream *Stream) WriteEmptyArray() + func (stream *Stream) WriteEmptyObject() + func (stream *Stream) WriteFalse() + func (stream *Stream) WriteFloat32(val float32) + func (stream *Stream) WriteFloat32Lossy(val float32) + func (stream *Stream) WriteFloat64(val float64) + func (stream *Stream) WriteFloat64Lossy(val float64) + func (stream *Stream) WriteInt(val int) + func (stream *Stream) WriteInt16(nval int16) + func (stream *Stream) WriteInt32(nval int32) + func (stream *Stream) WriteInt64(nval int64) + func (stream *Stream) WriteInt8(nval int8) + func (stream *Stream) WriteMore() + func (stream *Stream) WriteNil() + func (stream *Stream) WriteObjectEnd() + func (stream *Stream) WriteObjectField(field string) + func (stream *Stream) WriteObjectStart() + func (stream *Stream) WriteRaw(s string) + func (stream *Stream) WriteString(s string) + func (stream *Stream) WriteStringWithHTMLEscaped(s string) + func (stream *Stream) WriteTrue() + func (stream *Stream) WriteUint(val uint) + func (stream *Stream) WriteUint16(val uint16) + func (stream *Stream) WriteUint32(val uint32) + func (stream *Stream) WriteUint64(val uint64) + func (stream *Stream) WriteUint8(val uint8) + type ValueType int + const ArrayValue + const BoolValue + const InvalidValue + const NilValue + const NumberValue + const ObjectValue + const StringValue