As soon as go.mod is bumped to 1.27.X (#904), upgrade from encoding/json to encoding/json/v2 for the performance and memory benefits from the upgrade.
Users stumbling across this issue who are already running go >= 1.27.0 (including rc1) should kick the tires on building their app with GOEXPERIMENT=jsonv2.
What alternatives have you considered?
- Embed a 3rd-party json library for parsing (e.g. gjson?)
- Embed our own json scanner
Do you have any additional context?
As soon as
go.modis bumped to 1.27.X (#904), upgrade fromencoding/jsontoencoding/json/v2for the performance and memory benefits from the upgrade.Users stumbling across this issue who are already running
go>= 1.27.0 (includingrc1) should kick the tires on building their app withGOEXPERIMENT=jsonv2.What alternatives have you considered?
Do you have any additional context?