Documentation ¶
Index ¶
- func BoolType() reflect.Type
- func BytesType() reflect.Type
- func Decode(data []byte, outPtr interface{}) error
- func DecodeToJson(data []byte, valueType reflect.Type, compact bool) ([]byte, error)
- func DecodeWithType(data []byte, valueType reflect.Type) (interface{}, error)
- func Encode(value interface{}) ([]byte, error)
- func EncodeFromJson(jsonBytes []byte, valueType reflect.Type) ([]byte, error)
- func Float32Type() reflect.Type
- func Float64Type() reflect.Type
- func Int16Type() reflect.Type
- func Int32Type() reflect.Type
- func Int64Type() reflect.Type
- func Int8Type() reflect.Type
- func IntType() reflect.Type
- func NewStructBuilder() *structBuilder
- func StringType() reflect.Type
- func StructOf(fieldTypes ...reflect.Type) reflect.Type
- func StructValue(fieldValues ...interface{}) interface{}
- func Uint16Type() reflect.Type
- func Uint32Type() reflect.Type
- func Uint64Type() reflect.Type
- func Uint8Type() reflect.Type
- func UintType() reflect.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToJson ¶
func Float32Type ¶
func Float64Type ¶
func NewStructBuilder ¶
func NewStructBuilder() *structBuilder
func StringType ¶
func StructValue ¶
func StructValue(fieldValues ...interface{}) interface{}
func Uint16Type ¶
func Uint32Type ¶
func Uint64Type ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.