We have hosted the application json iterator in order to run this application in our online workstations with Wine or directly.
Quick description about json iterator:
Add import "github.com/json-iterator/go" and replace json.Marshal with jsoniter.Marshal. Then the code should behave exactly the same, just much faster. Unlike easyjson or other json libaries, jsoniter does not rely on static code generation. Unmarshal, NewEncoder, NewDecoder they all works. Existing types implemented Marshaler or Unmarshaler interface will also work. Map with non-string key also work. Yes, everything just works. The default performance is already several times faster than the standard library. Use jsoniter.ConfigFastest, this will marshal the float with 6 digits precision (lossy), which is significantly faster.Features:
- One line style
- You can parse json in one line, without defining any struct
- 100% Compatibility
- By default, jsoniter do not sort the map keys like standard libary
- The default performance is already several times faster than the standard library
- Drop-in replacement
Programming Language: Go.
Categories:
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.