Documentation ¶
Index ¶
- func IsJsonSyntaxError(err error) bool
- func JsonSyntaxError(err *json.SyntaxError) error
- func Marshal(v interface{}) ([]byte, error)
- func MarshalToString(v interface{}) (string, error)
- func Unmarshal(data []byte, v interface{}) error
- func UnmarshalFromReader(reader io.Reader, v interface{}) error
- func UnmarshalFromString(str string, v interface{}) error
- func WrapJsonError(err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJsonSyntaxError ¶
func JsonSyntaxError ¶
func JsonSyntaxError(err *json.SyntaxError) error
func MarshalToString ¶
MarshalToString marshals v into a string.
func UnmarshalFromReader ¶
UnmarshalFromReader unmarshals v from reader.
func UnmarshalFromString ¶
UnmarshalFromString unmarshals v from str.
func WrapJsonError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.