jsonutil

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToJSONBytes

func InterfaceToJSONBytes(i interface{}) ([]byte, error)

InterfaceToJSONBytes returns a json []byte from an interface

func JSONToInterface

func JSONToInterface(jsonStr string, i *interface{}) error

JSONToInterface unmarshals a json string to an interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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