json

package
v1.30.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CUnmarshal added in v1.20.0

func CUnmarshal(v, t interface{}) error

v to target

Types

type CJSON

type CJSON []byte

func (CJSON) Equals

func (j CJSON) Equals(j1 CJSON) bool

func (CJSON) GormDataType added in v1.20.8

func (CJSON) GormDataType() string

func (CJSON) MarshalJSON

func (j CJSON) MarshalJSON() ([]byte, error)

func (*CJSON) Scan

func (j *CJSON) Scan(value interface{}) error

func (CJSON) String

func (j CJSON) String() string

func (CJSON) Struct

func (j CJSON) Struct(v interface{}) error

Deprecated use Unmarshal replace

func (CJSON) Unmarshal added in v1.20.2

func (j CJSON) Unmarshal(v interface{}) error

Unmarshal support Struct/Array

func (*CJSON) UnmarshalJSON

func (j *CJSON) UnmarshalJSON(data []byte) error

func (CJSON) Value

func (j CJSON) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL