jsonutil

package
v0.0.0-...-2e696e2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonString

func GetJsonString(obj interface{}) string

将传入对象转换为json字符串

func Marshal

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

将传入对象转换为json字符串

func Unmarshal

func Unmarshal(jsonstring string, v interface{}) error

将传入的json字符串转换为对象

Types

This section is empty.

Jump to

Keyboard shortcuts

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