Documentation ¶
Index ¶
- func Get(data []byte, path ...interface{}) jsoniter.Any
- func Marshal(v any) ([]byte, error)
- func MarshalIndent(v any, prefix, indent string) ([]byte, error)
- func MarshalString(v any) string
- func MarshalStringPretty(v any) string
- func MarshallPretty(v any) ([]byte, error)
- func NewDecoder(r io.Reader) *jsoniter.Decoder
- func NewEncoder(w io.Writer) *jsoniter.Encoder
- func Unmarshal(data []byte, v any) error
- func UnmarshalFile(path string, v interface{}) error
- func UnmarshalString(str string, v interface{}) error
- func Valid(data []byte) bool
- type Number
- type RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalString ¶
func MarshalStringPretty ¶
func MarshallPretty ¶
func UnmarshalFile ¶
func UnmarshalString ¶
Types ¶
type RawMessage ¶
type RawMessage = json.RawMessage
Click to show internal directories.
Click to hide internal directories.