reverted core/cautils/getter/json.go file, as the json and init of json is necessary

Signed-off-by: cbrom <kb.cbrom@gmail.com>
This commit is contained in:
cbrom
2023-11-25 00:59:45 +03:00
parent 2603f04cfc
commit f86fa99316
+13
View File
@@ -0,0 +1,13 @@
package getter
import (
jsoniter "github.com/json-iterator/go"
)
var json jsoniter.API
func init() {
// NOTE(fredbi): attention, this configuration rounds floats down to 6 digits
// For finer-grained config, see: https://pkg.go.dev/github.com/json-iterator/go#section-readme
json = jsoniter.ConfigFastest
}