json

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 2 Imported by: 4

Documentation

Overview

use the https://github.com/json-iterator/go for parse json

Index

Constants

This section is empty.

Variables

View Source
var Decoder config.Decoder = func(blob []byte, v interface{}) (err error) {
	var parser = jsoniter.ConfigCompatibleWithStandardLibrary
	return parser.Unmarshal(blob, v)
}

Decoder

View Source
var Driver = &jsonDriver{config.Json}

Driver

View Source
var Encoder config.Encoder = func(v interface{}) (out []byte, err error) {
	var parser = jsoniter.ConfigCompatibleWithStandardLibrary
	return parser.Marshal(v)
}

Encoder

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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