json_kv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json2KV

func Json2KV(json gjson.Result) (map[string]string, error)

func JsonBytes2KV

func JsonBytes2KV(b []byte) (map[string]string, error)

func JsonStr2KV

func JsonStr2KV(str string) (map[string]string, error)

func KV2JsonObj

func KV2JsonObj(kv map[string]string, result interface{}) error

func KV2JsonStr

func KV2JsonStr(kv map[string]string) (result string, err error)

func Obj2KV

func Obj2KV(obj interface{}) (map[string]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