Documentation ¶
Index ¶
- type Array
- type Encoder
- type Object
- type Value
- func (jv Value) Array() *Array
- func (jv Value) Boolean(v bool)
- func (jv Value) ByteSlice(v []byte)
- func (jv Value) Float(v float64)
- func (jv Value) Integer(v int64)
- func (jv Value) Null()
- func (jv Value) Object() *Object
- func (jv Value) String(v string)
- func (jv Value) Time(v time.Time, format string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
Array represent the encoding of a JSON Array
type Encoder ¶
type Encoder struct { Value // contains filtered or unexported fields }
Encoder is JSON encoder that supports construction of JSON values using methods.
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object represents the encoding of a JSON Object type
Click to show internal directories.
Click to hide internal directories.