json

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deserialize

func Deserialize(data string) (value interface{}, err error)

Deserialize a value to a JSON representation.

func Dump

func Dump(value interface{}) string

Dump serializes a value to a pretty JSON string. An empty string is returned when serialization fails.

func Serialize

func Serialize(value interface{}, pretty bool) (string, error)

Serialize a value to a JSON representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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