Versions in this module Expand all Collapse all v0 v0.2.0 Oct 17, 2023 Changes in this version + type Appender = appenders.Appender + type BytesAppender struct + Value []byte + func (a BytesAppender) Append(out []byte) []byte + func (a BytesAppender) String() string + type Format byte + const Compact + const MultiLine + const OneLine + func (f *Format) Parse(input string) error + func (f *Format) UnmarshalText(input []byte) error + func (f Format) GoString() string + func (f Format) IsValid() bool + func (f Format) MarshalText() ([]byte, error) + func (f Format) String() string + type Generator struct + func (g *Generator) Begin() []Appender + func (g *Generator) BigFloatValue(value *big.Float) []Appender + func (g *Generator) BigIntValue(value *big.Int) []Appender + func (g *Generator) BoolValue(value bool) []Appender + func (g *Generator) ByteValue(value byte) []Appender + func (g *Generator) BytesValue(value []byte) []Appender + func (g *Generator) End() []Appender + func (g *Generator) EndArray() []Appender + func (g *Generator) EndObject() []Appender + func (g *Generator) Factory() emitter.GeneratorFactory + func (g *Generator) FloatValue(value float64) []Appender + func (g *Generator) InfValue(isNeg bool) []Appender + func (g *Generator) IntValue(value int64) []Appender + func (g *Generator) Key(key string) []Appender + func (g *Generator) NaNValue() []Appender + func (g *Generator) NullValue() []Appender + func (g *Generator) Reset() + func (g *Generator) RuneValue(value rune) []Appender + func (g *Generator) StartArray() []Appender + func (g *Generator) StartObject() []Appender + func (g *Generator) StringValue(value string) []Appender + func (g *Generator) UintValue(value uint64) []Appender + type JSON struct + EscapeHTML bool + Format Format + IndentSize uint + IndentWithTabs bool + TraceEnabled bool + func (json JSON) NewGenerator() emitter.Generator + type StringAppender struct + EscapeHTML bool + Value string + func (a StringAppender) Append(out []byte) []byte + func (a StringAppender) String() string