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

![image](https://user-images.githubusercontent.com/50078659/232438781-1ee4a27e-c685-4637-8ed2-6d326d3f2612.png)

Is json-iterator support "arena" package in golang 1.20 ? Wish to support "arena".

Reproduction code: ```go iter := jsoniter.NewIterator(jsoniter.ConfigDefault).Reset(r) t := iter.WhatIsNext() ``` This would block forever in the `WhatIsNext` function because no internal `item.buf` was allocated during `Iterator.Reset()` and `Iterator.loadMore()` will just...

+ Version:github.com/json-iterator/go v1.1.12 + A json like below be panic when unmarshal with BinaryAsStringExtension ```json { "F": "{\"abc\":\"123\"}" } ``` + Test Code ```go package main import ( j "github.com/json-iterator/go"...

# before optimization benchmark test: BenchmarkDecodeJsoniterStructMedium-4 195046 6399 ns/op 384 B/op 41 allocs/op test by: https://github.com/json-iterator/go-benchmark/blob/master/src/github.com/json-iterator/go-benchmark/benchmark_medium_payload_test.go # after optimization benchmark test: BenchmarkDecodeJsoniterStructMedium-4 219428 4998 ns/op 32 B/op 2 allocs/op test...

try fix concurrent access to ctx.encoders/decoders while marshal map with key type interface{}, as #618 shows