gojson

package
v1.0.211 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 2 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 IsValidJSON added in v1.0.201

func IsValidJSON(s string) bool

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 ParseQueryString added in v1.0.201

func ParseQueryString(input string) map[string]interface{}

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