ijson

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MulanPSL-2.0 Imports: 1 Imported by: 0

README

工具库

JSON 库

JsonFromStr

通过字符串转换为JSON

JsonFromByte

通过Byte转换为JSON

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromByte

func FromByte(byte []byte, v interface{}) error

FromByte 反解 JSON

func FromStr

func FromStr(str string, v interface{}) error

FromStr 转换 字符串 到 JSON

func ToByte

func ToByte(v interface{}) ([]byte, error)

ToByte 结构体转变为byte

func ToString

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

ToString 结构体转变为字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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