jsonx

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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