Go 1.25 introduces json/v2 package with significant changes from v1. Key improvements include new MarshalWrite/UnmarshalRead functions for direct I/O operations, streaming encode/decode via jsontext package, configurable options for formatting and behavior, enhanced field tags (inline, format, unknown), flexible custom
Table of contents
MarshalWrite and UnmarshalReadMarshalEncode and UnmarshalDecodeOptionsTagsCustom marshalingDefault behaviorPerformanceFinal thoughtsSort: