Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶
type Formatter struct { KeyColor *color.Color StringColor *color.Color BoolColor *color.Color NumberColor *color.Color NullColor *color.Color StringMaxLength int Indent int DisabledColor bool HTMLEscape bool RawStrings bool KeyMapColors map[string]*color.Color }
func NewFormatter ¶
func NewFormatter() *Formatter
func (*Formatter) MarshalString ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.