json

package
v2.7.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Compact         = json.Compact
	HTMLEscape      = json.HTMLEscape
	Indent          = json.Indent
	Marshal         = json.Marshal
	MarshalIndent   = json.MarshalIndent
	NewDecoder      = json.NewDecoder
	NewEncoder      = json.NewEncoder
	NativeUnmarshal = json.Unmarshal
)

Expose json public objects

View Source
var DictionaryHelper collections.IDictionaryHelper = jsonDictHelper

DictionaryHelper gives public access to the basic dictionary functions

View Source
var GenericListHelper collections.IListHelper = jsonListHelper

GenericListHelper gives public access to the basic list functions

Functions

func Unmarshal

func Unmarshal(data []byte, out interface{}) (err error)

Unmarshal calls the native Unmarshal but transform the results to returns Dictionary and GenerecList instead of go native collections.

Types

type Dictionary

type Dictionary = jsonDict

Dictionary implementation of IDictionary for jsonDict

type List

type List = jsonList

List implementation of IGenericList for jsonList

Jump to

Keyboard shortcuts

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