Documentation ¶
Overview ¶
Package json provides a JSON presenter that formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Presenter ¶
type Presenter struct {
// contains filtered or unexported fields
}
Presenter is a presenter that formats v into JSON string.
func NewPresenter ¶
NewPresenter instantiates a JSON presenter. If indent is not empty, Format indents the output.
Click to show internal directories.
Click to hide internal directories.