1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00

add Api interface to allow save the frozen config

This commit is contained in:
Tao Wen
2017-06-19 13:43:22 +08:00
parent 7e9017caa2
commit 31afe6450e
3 changed files with 21 additions and 11 deletions

View File

@ -141,8 +141,8 @@ func Test_encode_object_contain_non_empty_interface(t *testing.T) {
}
func Test_nil_non_empty_interface(t *testing.T) {
ConfigDefault.CleanEncoders()
ConfigDefault.CleanDecoders()
ConfigDefault.cleanEncoders()
ConfigDefault.cleanDecoders()
type TestObject struct {
Field []MyInterface
}