json-iterator

json-iterator

Jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go

Member Since 4 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
13
repos
Activity
Nov
28
20 hours ago
started
started time in 16 hours ago
started
started time in 18 hours ago
Nov
27
1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
started
started time in 1 day ago
Nov
26
2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
Activity icon
issue

gokce-nur00 issue comment json-iterator/java

gokce-nur00
gokce-nur00

The tilde (~) character appears incorrectly serialized

To illustrate with a test case:

var o = new HashMap<String,Object>();
o.put("tilde", "~");
assertEquals("{\"tilde\":\"~\"}", JsonStream.serialize(new Config.Builder().escapeUnicode(false).build(), o));
org.junit.ComparisonFailure: 
Expected :{"tilde":"~"}
Actual   :{"tilde":"��"}
gokce-nur00
gokce-nur00
started
started time in 2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
Activity icon
fork

richardweiu forked json-iterator/go

⚡ A high-performance 100% compatible drop-in replacement of "encoding/json"
richardweiu MIT License Updated
fork time in 2 days ago
started
started time in 2 days ago
started
started time in 2 days ago
Nov
25
3 days ago
started
started time in 3 days ago
started
started time in 3 days ago
started
started time in 3 days ago
started
started time in 3 days ago
Activity icon
issue

gh73962 issue comment json-iterator/go

gh73962
gh73962

panic : interface conversion: interface is nil, not jsoniter.ValEncoder

go version : 16.3 ENV : PRODUCTION stack: panic({0x12fc400, 0xc000c24600}) /micro/go/src/runtime/panic.go:1038 +0x215 github.com/json-iterator/go.(*frozenConfig).getEncoderFromCache(...) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/config.go:109 github.com/json-iterator/go.(*Stream).WriteVal(0xc003e80480, {0x13dfc60, 0xc0023dd0c0}) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/reflect.go:93 +0x105 github.com/json-iterator/go.(*frozenConfig).MarshalToString(0xc000133ae0, {0x13dfc60, 0xc0023dd0c0}) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/config.go:289 +0xa6 github.com/json-iterator/go.MarshalToString(...) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/adapter.go:44

I've read json-iterator/go/config.go 109, get nil valDecoder from cache

So many this errors, and I can't reproduce it.

input value is a grpc msg,not nil

gh73962
gh73962

github.com/json-iterator/go v1.1.12

Activity icon
issue

gh73962 issue json-iterator/go

gh73962
gh73962

panic : interface conversion: interface is nil, not jsoniter.ValEncoder

go version : 16.3 ENV : PRODUCTION stack: panic({0x12fc400, 0xc000c24600}) /micro/go/src/runtime/panic.go:1038 +0x215 github.com/json-iterator/go.(*frozenConfig).getEncoderFromCache(...) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/config.go:109 github.com/json-iterator/go.(*Stream).WriteVal(0xc003e80480, {0x13dfc60, 0xc0023dd0c0}) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/reflect.go:93 +0x105 github.com/json-iterator/go.(*frozenConfig).MarshalToString(0xc000133ae0, {0x13dfc60, 0xc0023dd0c0}) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/config.go:289 +0xa6 github.com/json-iterator/go.MarshalToString(...) /var/lib/jenkins/workspace/UserService/vendor/github.com/json-iterator/go/adapter.go:44

Ive read json-iterator/go/config.go 109, get nil valDecoder from cache

Nov
24
4 days ago
started
started time in 3 days ago
started
started time in 3 days ago
started
started time in 4 days ago
Previous