jsonutil

package
v1.7.21 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonString

func GetJsonString(obj interface{}) string

GetJsonString marshals the object as string

func Marshal

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

Marshal marshals the value as string

func Unmarshal

func Unmarshal(jsonstring string, v interface{}) error

Unmarshal converts the jsonstring into value

Types

This section is empty.

Jump to

Keyboard shortcuts

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