Jsoniter.unmarshal was replaced with jsoniter.unmarshal
Jsoniter.marshal was replaced with jsoniter.marshal
All the behavior is identical to the standard library
- No code generation, based on high speed reflection implementation. Because type information is cached, reflection is much faster than in the standard library.
- Support all
json:"field"
The tag markup - Support json.Marshaler and json.Unmarshaler custom extensions
- Support for json. Number
- Support for json. RawMessage
- – Fixed all previous incompatibations with the standard library (e.g. field names, whether private members are supported by default, etc)
You don’t need to change anything except json to jsoniter. No more code generation libraries like EasyJSON to speed up JSON codec.
Github address: github.com/json-iterat…
Did this article help you? Welcome to join the wechat group of back-end learning Group: