Documentation
¶
Index ¶
- func Marshal(v interface{}) ([]byte, error)
- func MarshalIdent(v interface{}, prefix, indent string) ([]byte, error)
- func MysqlPath(keys ...interface{}) string
- type Array
- func (a Array) Append(arr Array) Array
- func (a Array) Cap(keys ...interface{}) int
- func (a Array) Clone(keys ...interface{}) Value
- func (a Array) Contains(value interface{}) bool
- func (a Array) Get(keys ...interface{}) (val Value)
- func (Array) GormDBDataType(*gorm.DB, *schema.Field) string
- func (a Array) Index(value interface{}) int
- func (a Array) JSON(keys ...interface{}) []byte
- func (a Array) JSONString(keys ...interface{}) string
- func (a Array) JSONValue(keys ...interface{}) Value
- func (a Array) Len(keys ...interface{}) int
- func (a Array) Range(fn func(index int, value Value) (continued bool)) bool
- func (a Array) Raw(keys ...interface{}) Raw
- func (a Array) Reverse(keys ...interface{}) Array
- func (a *Array) Scan(v interface{}) error
- func (a Array) Set(keys ...interface{})
- func (a Array) Slice(begin, end int) Array
- func (a Array) Sort(less func(i, j int) bool) Array
- func (a Array) Value() (driver.Value, error)
- type Bool
- type Number
- func (n Number) Float64() (float64, error)
- func (Number) GormDBDataType(*gorm.DB, *schema.Field) string
- func (n Number) Int64() (int64, error)
- func (n Number) JSON() []byte
- func (n Number) JSONString() string
- func (n Number) JSONValue() Value
- func (n Number) MarshalJSON() ([]byte, error)
- func (n Number) Raw() Raw
- func (n *Number) Scan(v interface{}) error
- func (n Number) String() string
- func (n Number) Uint64() (uint64, error)
- func (n *Number) UnmarshalJSON(data []byte) error
- func (n Number) Value() (driver.Value, error)
- type Object
- func (o Object) Array(keys ...interface{}) Array
- func (o Object) Bool(keys ...interface{}) bool
- func (o Object) Clone(keys ...interface{}) Value
- func (o Object) Delete(keys ...interface{})
- func (o Object) Exist(keys ...interface{}) bool
- func (o Object) Float(keys ...interface{}) float64
- func (o Object) Get(keys ...interface{}) (val Value)
- func (Object) GormDBDataType(*gorm.DB, *schema.Field) string
- func (o Object) Int(keys ...interface{}) int64
- func (o Object) Interface(keys ...interface{}) interface{}
- func (o Object) JSON(keys ...interface{}) []byte
- func (o Object) JSONString(keys ...interface{}) string
- func (o Object) JSONValue(keys ...interface{}) Value
- func (o Object) Keys(keys ...interface{}) []string
- func (o Object) Len(keys ...interface{}) int
- func (o Object) Number(keys ...interface{}) Number
- func (o Object) Object(keys ...interface{}) Object
- func (o Object) Range(fn func(key string, value Value) (continued bool)) bool
- func (o Object) Raw(keys ...interface{}) Raw
- func (o *Object) Scan(v interface{}) error
- func (o Object) Set(keys ...interface{})
- func (o Object) String(keys ...interface{}) string
- func (o Object) Value() (driver.Value, error)
- type Raw
- func (r Raw) Array(keys ...interface{}) []Raw
- func (r Raw) Bool(keys ...interface{}) bool
- func (r Raw) Exist(keys ...interface{}) bool
- func (r Raw) Float(keys ...interface{}) float64
- func (r Raw) Get(keys ...interface{}) Raw
- func (Raw) GormDBDataType(*gorm.DB, *schema.Field) string
- func (r Raw) Int(keys ...interface{}) int64
- func (r Raw) Interface(keys ...interface{}) interface{}
- func (r Raw) IsArray() bool
- func (r Raw) IsBool() bool
- func (r Raw) IsNull() bool
- func (r Raw) IsNumber() bool
- func (r Raw) IsObject() bool
- func (r Raw) IsString() bool
- func (r Raw) IsValid() bool
- func (r Raw) JSON(keys ...interface{}) []byte
- func (r Raw) JSONString(keys ...interface{}) string
- func (r Raw) JSONValue(keys ...interface{}) Value
- func (r Raw) Keys(keys ...interface{}) []string
- func (r Raw) Len(keys ...interface{}) int
- func (r Raw) MarshalJSON() ([]byte, error)
- func (r Raw) Number(keys ...interface{}) Number
- func (r Raw) Object(keys ...interface{}) map[string]Raw
- func (r *Raw) Scan(v interface{}) error
- func (r Raw) String(keys ...interface{}) string
- func (r Raw) Type(keys ...interface{}) string
- func (r *Raw) UnmarshalJSON(data []byte) error
- func (r Raw) Value() (driver.Value, error)
- type String
- type Value
- func (v Value) Append(arr Array) Array
- func (v Value) Array(keys ...interface{}) Array
- func (v Value) Bool(keys ...interface{}) bool
- func (v Value) Cap(keys ...interface{}) int
- func (v Value) Clone(keys ...interface{}) Value
- func (v Value) Contains(value interface{}) bool
- func (v Value) Delete(keys ...interface{})
- func (v Value) Exist(keys ...interface{}) bool
- func (v Value) Float(keys ...interface{}) float64
- func (v Value) Get(keys ...interface{}) (val Value)
- func (Value) GormDBDataType(*gorm.DB, *schema.Field) string
- func (v Value) Index(value interface{}) int
- func (v Value) Int(keys ...interface{}) int64
- func (v Value) Interface(keys ...interface{}) interface{}
- func (v Value) IsArray(keys ...interface{}) bool
- func (v Value) IsBool(keys ...interface{}) bool
- func (v Value) IsNull(keys ...interface{}) bool
- func (v Value) IsNumber(keys ...interface{}) bool
- func (v Value) IsObject(keys ...interface{}) bool
- func (v Value) IsString(keys ...interface{}) bool
- func (v Value) JSON(keys ...interface{}) []byte
- func (v Value) JSONString(keys ...interface{}) string
- func (v Value) Keys(keys ...interface{}) []string
- func (v Value) Len(keys ...interface{}) int
- func (v Value) Marshal(obj interface{}) error
- func (v Value) MarshalJSON() ([]byte, error)
- func (v Value) Number(keys ...interface{}) Number
- func (v Value) Object(keys ...interface{}) Object
- func (v Value) Range(fn func(key interface{}, value Value) (continued bool)) bool
- func (v Value) Raw(keys ...interface{}) Raw
- func (v Value) Reverse(keys ...interface{}) Array
- func (v *Value) Scan(val interface{}) error
- func (v Value) Set(keys ...interface{})
- func (v Value) Slice(begin, end int) Array
- func (v Value) Sort(less func(i, j int) bool) Array
- func (v Value) String(keys ...interface{}) string
- func (v Value) Type(keys ...interface{}) string
- func (v Value) Uint(keys ...interface{}) uint64
- func (v *Value) Unmarshal(obj interface{}) error
- func (v *Value) UnmarshalJSON(data []byte) error
- func (v Value) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalIdent ¶
Types ¶
type Raw ¶
type Raw json.RawMessage
func (Raw) JSONString ¶
func (Raw) MarshalJSON ¶
func (*Raw) UnmarshalJSON ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (Value) JSONString ¶
func (Value) MarshalJSON ¶
func (*Value) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.