gojson

package
v1.0.194 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(v interface{}) (string, error)

func JsonDecode

func JsonDecode(data string) (map[string]interface{}, error)

func JsonDecodeNoError

func JsonDecodeNoError(data string) map[string]interface{}

func JsonDecodesNoError added in v1.0.44

func JsonDecodesNoError(data string) []string

func JsonEncode

func JsonEncode(data interface{}) (string, error)

func JsonEncodeNoError

func JsonEncodeNoError(data interface{}) string

func Marshal added in v1.0.103

func Marshal(v any) ([]byte, error)

func MarshalToString

func MarshalToString(msg interface{}) (string, error)

func Unmarshal added in v1.0.103

func Unmarshal(data []byte, v any) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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