jsonutils

package
v0.0.0-...-ca3ac9b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSON2Map

func ConvertJSON2Map(src map[string]any) (dst map[string]any)

ConvertJSON2Map convert into a flatted map

func DecodeBytes

func DecodeBytes(b []byte, v any) error

DecodeBytes decode json byte array

func DecodeJSON

func DecodeJSON(r io.Reader, v any) error

DecodeJSON decode from reader interface

func DecodeString

func DecodeString(str string, v any) error

DecodeString decode json string

Types

This section is empty.

Jump to

Keyboard shortcuts

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