-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
At the time of writing JSON v2 is still experimental. But it is really promising.
- It is safer. E.g. throws an error on duplicate fields and case-sensitive by default.
- It is much faster when using interfaces, when the new v2 functions are used, e.g.
json.UnmarshalRead(r.Body, &val)orjson.MarshalWrite(w, &val). The performance gain is application dependent, expected to be around 3-fold.
In the meanwhile, Restful's experimental MessagePack support could be deprecated. It failed to deliver the performance gains we hoped for.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request