Documentation
¶
Index ¶
- Variables
- type LazyNode
- func (n *LazyNode) Equal(o *LazyNode) bool
- func (n *LazyNode) GetArray() PartialArray
- func (n *LazyNode) GetDoc() PartialDoc
- func (n *LazyNode) IntoAry() (*PartialArray, error)
- func (n *LazyNode) IntoDoc() (*PartialDoc, error)
- func (n *LazyNode) IsArray() bool
- func (n *LazyNode) IsRawEmpty() bool
- func (n *LazyNode) MarshalJSON() ([]byte, error)
- func (n *LazyNode) SetArray(pArray PartialArray)
- func (n *LazyNode) SetDoc(pDoc PartialDoc)
- func (n *LazyNode) SetWhich(w int)
- func (n *LazyNode) TryAry() bool
- func (n *LazyNode) TryDoc() bool
- func (n *LazyNode) UnmarshalJSON(data []byte) error
- func (n *LazyNode) Which() int
- type PartialArray
- type PartialDoc
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LazyNode ¶
type LazyNode struct {
// contains filtered or unexported fields
}
func NewLazyNode ¶
func NewLazyNode(raw *json.RawMessage) *LazyNode
func (*LazyNode) GetArray ¶
func (n *LazyNode) GetArray() PartialArray
func (*LazyNode) GetDoc ¶
func (n *LazyNode) GetDoc() PartialDoc
func (*LazyNode) IntoAry ¶
func (n *LazyNode) IntoAry() (*PartialArray, error)
func (*LazyNode) IntoDoc ¶
func (n *LazyNode) IntoDoc() (*PartialDoc, error)
func (*LazyNode) IsRawEmpty ¶
func (*LazyNode) MarshalJSON ¶
func (*LazyNode) SetArray ¶
func (n *LazyNode) SetArray(pArray PartialArray)
func (*LazyNode) SetDoc ¶
func (n *LazyNode) SetDoc(pDoc PartialDoc)
func (*LazyNode) UnmarshalJSON ¶
type PartialArray ¶
type PartialArray []*LazyNode
func (*PartialArray) Remove ¶
func (d *PartialArray) Remove(key string) error
type PartialDoc ¶
func (*PartialDoc) Remove ¶
func (d *PartialDoc) Remove(key string) error
Click to show internal directories.
Click to hide internal directories.