json

package
v0.0.1-rc6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBytes

func FromBytes(bytes []byte, target interface{}) error

func FromJson

func FromJson(jsonStr string, target interface{}) error

func GetNodeFromBytes

func GetNodeFromBytes(byt []byte, path interface{}) jsoniter.Any

func GetNodeFromString

func GetNodeFromString(jsonStr string, path interface{}) jsoniter.Any

func ToBytes

func ToBytes(data interface{}) ([]byte, error)

func ToJson

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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