Documentation ¶
Index ¶
- type Array
- type Boolean
- type Node
- type Null
- type Number
- type Object
- func (o *Object) Get(key string) Node
- func (o *Object) KeyExists(key string) bool
- func (o *Object) Keys() []string
- func (o *Object) Marshal() ([]byte, error)
- func (o *Object) Put(key string, value Node)
- func (o *Object) Serialize() json.RawMessage
- func (o *Object) String() string
- func (o *Object) UnmarshalJSON(data []byte) error
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array []Node
func (*Array) Serialize ¶ added in v0.0.6
func (a *Array) Serialize() json.RawMessage
func (*Array) UnmarshalJSON ¶
type Boolean ¶
type Boolean bool
func (Boolean) Serialize ¶ added in v0.0.6
func (b Boolean) Serialize() json.RawMessage
type Node ¶
type Node interface { String() string Serialize() json.RawMessage Marshal() ([]byte, error) // extends Marshaler // contains filtered or unexported methods }
type Null ¶
type Null bool
func (Null) Serialize ¶ added in v0.0.6
func (n Null) Serialize() json.RawMessage
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func (*Object) Serialize ¶ added in v0.0.6
func (o *Object) Serialize() json.RawMessage
func (*Object) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.