Skip to content

Releases: richardwilkes/json

v0.3.0

10 Jul 04:25
b774f31
Compare
Choose a tag to compare
  • Sync with changes made in Go 1.22.5

v0.2.0

10 Feb 03:53
de3160d
Compare
Choose a tag to compare

Update to Go 1.22

v0.1.0

06 Jun 17:24
b06073a
Compare
Choose a tag to compare

This is a clone of the encoding/json package with added support for:

  • passing a context in both encode and decode. For those places where it is needed, this requires implementing new MarshalerWithContext and UnmarshalerWithContext interfaces to receive the context.
  • deciding whether to omit data by implementing the Omitter interface, if present (this in addition to the old way).
  • reading data with an alternate tag, useful when a tag name has changed in a newer format but you still want to load older data.