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) { if config.JSONAllowComments { str := jsonutil.StripComments(string(data)) return parser.Unmarshal([]byte(str), v) } return parser.Unmarshal(data, 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.
Click to show internal directories.
Click to hide internal directories.