Documentation ¶
Index ¶
- Variables
- func ApplyDefault(node *Node) error
- func LoadExternalResource(n *Node) error
- func MarshalJSON(n *Node) ([]byte, error)
- type Lookup
- type Node
- func (n *Node) Clear() *Node
- func (n *Node) Edge(name string) *Node
- func (n *Node) Edges() map[string]*Node
- func (n *Node) GetFloat() float32
- func (n *Node) GetInt() int
- func (n *Node) GetString() string
- func (n *Node) HasValue() bool
- func (n *Node) Index(i int) (string, *Node)
- func (n *Node) IsList() bool
- func (n *Node) List(list bool)
- func (n *Node) Lookup(path string) Lookup
- func (n *Node) MarshalJSON() ([]byte, error)
- func (n *Node) Parent() *Node
- func (n *Node) SetBool(value bool) *Node
- func (n *Node) SetFloat(value float32) *Node
- func (n *Node) SetInt(value int) *Node
- func (n *Node) SetString(value string) *Node
- func (n *Node) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
TODO: Remove global variable
Functions ¶
func ApplyDefault ¶
func LoadExternalResource ¶
func MarshalJSON ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func UnmarshalJSON ¶
func (*Node) MarshalJSON ¶
func (*Node) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.