Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayNode ¶
type ArrayNode struct {
Value NodeArrayValue
}
func (*ArrayNode) MarshalJSON ¶ added in v0.0.3
type BooleanNode ¶
type BooleanNode struct {
Value bool
}
func (*BooleanNode) MarshalJSON ¶ added in v0.0.3
func (n *BooleanNode) MarshalJSON() ([]byte, error)
func (*BooleanNode) Set ¶ added in v0.0.4
func (n *BooleanNode) Set(v any) error
func (BooleanNode) Type ¶ added in v0.0.3
func (n BooleanNode) Type() NodeType
type NodeArrayValue ¶
type NodeArrayValue []Node
type NodeObjectValue ¶
type NumberNode ¶
type NumberNode struct {
Value float64
}
func (*NumberNode) MarshalJSON ¶ added in v0.0.3
func (n *NumberNode) MarshalJSON() ([]byte, error)
func (*NumberNode) Set ¶ added in v0.0.4
func (n *NumberNode) Set(v any) error
func (NumberNode) Type ¶ added in v0.0.3
func (n NumberNode) Type() NodeType
type ObjectNode ¶
type ObjectNode struct { Value NodeObjectValue Meta map[string]any }
func (*ObjectNode) Len ¶ added in v0.0.3
func (n *ObjectNode) Len() int
func (*ObjectNode) MarshalJSON ¶ added in v0.0.3
func (n *ObjectNode) MarshalJSON() ([]byte, error)
func (*ObjectNode) Merge ¶ added in v0.0.3
func (n *ObjectNode) Merge(n2 *ObjectNode)
func (*ObjectNode) Remove ¶ added in v0.0.4
func (n *ObjectNode) Remove(key string)
func (*ObjectNode) Set ¶ added in v0.0.3
func (n *ObjectNode) Set(v any) error
func (ObjectNode) Type ¶ added in v0.0.3
func (n ObjectNode) Type() NodeType
type StringNode ¶
type StringNode struct {
Value string
}
func (*StringNode) MarshalJSON ¶ added in v0.0.3
func (n *StringNode) MarshalJSON() ([]byte, error)
func (*StringNode) Set ¶ added in v0.0.4
func (n *StringNode) Set(v any) error
func (StringNode) Type ¶ added in v0.0.3
func (n StringNode) Type() NodeType
Click to show internal directories.
Click to hide internal directories.