go icon indicating copy to clipboard operation
go copied to clipboard

A high-performance 100% compatible drop-in replacement of "encoding/json"

Results 188 go issues
Sort by recently updated
recently updated
newest added

Hi. Here is what I did: > $ go version > go version go1.16 linux/arm64 > $ git clone https://github.com/json-iterator/go > Cloning into 'go'... > remote: Enumerating objects: 9, done....

After reading the code, I believe that once we register a type, struct field encoder/decoder, they get registered globally. Any reason for this? How can I have different encoder for...

Hi. People are experiencing compilation issues, with [gollvm](https://go.googlesource.com/gollvm/), when compiling Kubernetes. The reason is in [reflect2](https://github.com/modern-go/reflect2) - it a dependency of this project, in turn being a dependency of Kubernetes....

I have a json **{ "address" : { "name" : "ABC", "primary_address": "XYZ" } "pin_code" : "638332" }** and struct **type struct Address { PrimaryAddress. string `json:"primary_address"` PinCode string `json:"pin_code"`...

fix: binary_as_string_codec.go readHex logic error

Go 1.9 (released in August 2017) added sync.Map. The release has been around some time (and the release is not even supported by the Go developers anymore) so it's safe...

We ran into this issue at work. I started digging into it, and found that someone had already fixed it in #474, but hadn't added any tests. Hopefully this gets...

If a json string has null element, expect a slice or struct, but json.LastError() have no error and any.ToVal() panic. ```go func TestJSONGet(t *testing.T) { var array []string j :=...