Documentation ¶
Index ¶
- func Parse(data []byte, importRoot string, enableEnv bool, funcMap map[string]interface{}) ([]byte, error)
- func Pretty(pretty bool) func(*JSON) error
- func Size(size int) func(*JSON) error
- type JSON
- func (t *JSON) AST() *node32
- func (t *JSON) Add(rule pegRule, begin, end, index uint32)
- func (p *JSON) Init(options ...func(*JSON) error) error
- func (p *JSON) Parse(rule ...int) error
- func (t *JSON) PrettyPrintSyntaxTree(buffer string)
- func (t *JSON) Print()
- func (p *JSON) PrintSyntaxTree()
- func (p *JSON) Reset()
- func (p *JSON) SprintSyntaxTree() string
- func (t *JSON) Tokens() []token32
- func (t *JSON) Trim(length uint32)
- func (p *JSON) WriteSyntaxTree(w io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSON ¶
func (*JSON) PrettyPrintSyntaxTree ¶
func (t *JSON) PrettyPrintSyntaxTree(buffer string)
func (*JSON) PrintSyntaxTree ¶
func (p *JSON) PrintSyntaxTree()
func (*JSON) SprintSyntaxTree ¶
func (*JSON) WriteSyntaxTree ¶
Click to show internal directories.
Click to hide internal directories.