Documentation ¶
Index ¶
- func ConvertJSONBytes(b []byte, paths ...string) ([]byte, error)
- func ConvertJSONBytesContext(ctx context.Context, b []byte, paths ...string) ([]byte, error)
- func ConvertJSONString(str string, paths ...string) (string, error)
- func ConvertJSONStringContext(ctx context.Context, str string, paths ...string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertJSONBytes ¶
ConvertJSONBytes accepts serialized JSON data and converts its internal objects to arrays according to the passed paths strings and returns a resulting byte slice
func ConvertJSONBytesContext ¶
ConvertJSONBytesContext accepts serialized JSON data and converts its internal objects to arrays according to the passed paths strings and returns a resulting byte slice It takes into account the context passed to it, so that any context-related actions are handled during execution
func ConvertJSONString ¶
ConvertJSONString accepts serialized stringified JSON data and converts its internal objects to arrays according to the passed paths strings and returns a resulting string
func ConvertJSONStringContext ¶
ConvertJSONStringContext accepts serialized JSON data and converts its internal objects to arrays according to the passed paths strings and returns a resulting string It takes into account the context passed to it, so that any context-related actions are handled during execution
Types ¶
This section is empty.