inst/go/vendor/github.com/goccy/go-json/CHANGELOG.md

v0.10.2 - 2023/03/20

New features

Fix bugs

v0.10.1 - 2023/03/13

Fix bugs

v0.10.0 - 2022/11/29

New features

Fix bugs

v0.9.11 - 2022/08/18

Fix bugs

v0.9.10 - 2022/07/15

Fix bugs

v0.9.9 - 2022/07/15

Fix bugs

v0.9.8 - 2022/06/30

Fix bugs

Improve performance

v0.9.7 - 2022/04/22

Fix bugs

Encoder

Decoder

New features

v0.9.6 - 2022/03/22

Fix bugs

Improve decoder performance

Others

v0.9.5 - 2022/03/04

Fix bugs

Improve decoder performance

v0.9.4 - 2022/01/21

v0.9.3 - 2022/01/14

v0.9.2 - 2022/01/14

v0.9.1 - 2022/01/11

v0.9.0 - 2022/01/05

New feature

Improve encoding performance

Fix bugs

v0.8.1 - 2021/12/05

v0.8.0 - 2021/12/02

v0.7.10 - 2021/10/16

v0.7.9 - 2021/09/28

v0.7.8 - 2021/09/01

v0.7.7 - 2021/08/25

Thank you @orisano !!

v0.7.6 - 2021/08/13

v0.7.5 - 2021/08/12

v0.7.4 - 2021/07/06

v0.7.3 - 2021/06/29

v0.7.2 - 2021/06/26

Fix decoder

Performance

Benchmark

v0.7.1 - 2021/06/18

Fix decoder

v0.7.0 - 2021/06/12

Support context for MarshalJSON and UnmarshalJSON ( #248 )

type MarshalerContext interface {
  MarshalJSON(context.Context) ([]byte, error)
}

type UnmarshalerContext interface {
  UnmarshalJSON(context.Context, []byte) error
}

Add DecodeFieldPriorityFirstWin option ( #242 )

In the default behavior, go-json, like encoding/json, will reflect the result of the last evaluation when a field with the same name exists. I've added new options to allow you to change this behavior. json.DecodeFieldPriorityFirstWin option reflects the result of the first evaluation if a field with the same name exists. This behavior has a performance advantage as it allows the subsequent strings to be skipped if all fields have been evaluated.

Fix encoder

Fix decoder

Refactor

v0.6.1 - 2021/06/02

Fix encoder

v0.6.0 - 2021/06/01

Support Colorize option for encoding (#233)

b, err := json.MarshalWithOption(v, json.Colorize(json.DefaultColorScheme))
if err != nil {
  ...
}
fmt.Println(string(b)) // print colored json

Refactor

v0.5.1 - 2021/5/20

Optimization

Fix decoder

Refactor

v0.5.0 - 2021/5/9

Supports using omitempty and string tags at the same time ( #216 )

Fix decoder

Refactor

v0.4.14 - 2021/5/4

Benchmark

Fix decoder

Performance

v0.4.13 - 2021/4/20

Fix json.Compact and json.Indent

v0.4.12 - 2021/4/15

Fix encoder

Fix decoder

v0.4.11 - 2021/4/3

v0.4.10 - 2021/4/2

Fix encoder

v0.4.9 - 2021/3/29

Add debug mode

If you use json.MarshalWithOption(v, json.Debug()) and panic occurred in go-json, produces debug information to console.

Support a new feature to compatible with encoding/json

Fix encoder

Fix decoding of slice of pointer type

If there is a pointer value, go-json will use it. (This behavior is necessary to achieve the ability to prioritize pre-filled values). However, since slices are reused internally, there was a bug that referred to the previous pointer value. Therefore, it is not necessary to refer to the pointer value in advance for the slice element, so we explicitly initialize slice element by nil.

v0.4.8 - 2021/3/21

Reduce memory usage at compile time

Fix any encoder's bug

Refactor encoder

Fix CI

Number/Delim/Token/RawMessage use the types defined in encoding/json by type alias

v0.4.7 - 2021/02/22

Fix decoder

Reduce memory usage at compile

Remove unnecessary optype



Try the mangoro package in your browser

Any scripts or data that you put into this service are public.

mangoro documentation built on Nov. 26, 2025, 1:06 a.m.