json

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package json 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(data []byte, v interface{}) (err error) {
	s := config.StripJSONComments(string(data))
	return parser.Unmarshal([]byte(s), v)
}

Decoder for json

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

Driver for json

View Source
var Encoder config.Encoder = parser.Marshal

Encoder for json

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