Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Flatten ¶
func Flatten(raw json.RawMessage) map[string]interface{}
Flatten flattens a JSON object using dot notation.
func RawMessage ¶ added in v0.0.20
func RawMessage(bytesin string) json.RawMessage
Raw returns a json.RawMessage. This is useful for testing json payload. The function will panic if the input is not valid json. It normalize the json by unmarshaling and marshaling it again.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.