Documentation ¶
Index ¶
- func ApplyJSONPatch(p json.RawMessage, object interface{}, denyPaths ...string) error
- func Flatten(raw json.RawMessage) map[string]interface{}
- func NewStrictDecoder(b io.Reader) *json.Decoder
- func TestMarshalJSONString(t *testing.T, i interface{}) string
- func TestUnmarshalJSON(t *testing.T, in []byte, i interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyJSONPatch ¶ added in v0.0.349
func ApplyJSONPatch(p json.RawMessage, object interface{}, denyPaths ...string) error
func Flatten ¶ added in v0.0.83
func Flatten(raw json.RawMessage) map[string]interface{}
Flatten flattens a JSON object using dot notation.
func NewStrictDecoder ¶
NewStrictDecoder is a shorthand for json.Decoder.DisallowUnknownFields
func TestMarshalJSONString ¶ added in v0.0.170
func TestUnmarshalJSON ¶ added in v0.0.170
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.