ujson

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MulanPSL-2.0 Imports: 4 Imported by: 8

README

ujson

介绍

go语言的json工具方法

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(path string, config interface{}) (err error)

func FromJsonString added in v1.1.1

func FromJsonString(jsonStr string, result interface{}) (err error)

func JsonStringToInterface

func JsonStringToInterface(jsonStr string) (result interface{})

func JsonStringToMap

func JsonStringToMap(jsonStr string) (result map[string]interface{})

func ToJsonByte

func ToJsonByte(any interface{}) (result []byte)

func ToJsonRawString

func ToJsonRawString(any interface{}) (result string)

func ToJsonString

func ToJsonString(any interface{}) (result string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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