java icon indicating copy to clipboard operation
java copied to clipboard

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

Results 115 java issues
Sort by recently updated
recently updated
newest added

I fixed code. I think this fix solves the issue #207 . If you like, please merge.

I tried using JsonStream.serialize(object, outputStream) and JsonStream.serialize(object) to serialize list of objects into json. Received following error with both methods. Caused by: com.jsoniter.spi.JsonException: java.lang.NegativeArraySizeException at com.jsoniter.output.ReflectionObjectEncoder.encode(ReflectionObjectEncoder.java:41) at com.jsoniter.output.JsonStream.writeVal(JsonStream.java:362) at com.jsoniter.output.ReflectionObjectEncoder.writeEncodeTo(ReflectionObjectEncoder.java:121)...

``` Exception in thread "main" com.jsoniter.spi.JsonException: Broken surrogate pair: first char 0xd83d, second 0xd83d; illegal combination at com.jsoniter.output.StreamImplString.writeStringSlowPathWithoutEscapeUnicode(StreamImplString.java:179) at com.jsoniter.output.StreamImplString.writeStringSlowPath(StreamImplString.java:142) at com.jsoniter.output.StreamImplString.writeString(StreamImplString.java:93) at com.jsoniter.output.JsonStream.writeVal(JsonStream.java:146) at com.jsoniter.output.CodegenImplNative$1$17.encode(CodegenImplNative.java:214) at com.jsoniter.output.JsonStream.writeVal(JsonStream.java:362) at com.jsoniter.output.ReflectionObjectEncoder.writeEncodeTo(ReflectionObjectEncoder.java:121)...

Add method to check if a field exists Before : Any rowField = atFields.get(mappingField.getAirtableFieldName()); boolean exists = true; try {rowField.mustBeValid();}catch(Exception e){exists = false;} if (exists) { } Now : Any...

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cyber.uwin/com.cyber.uwin.activity.bindbankcard.BindBankcardActivity}: com.jsoniter.spi.JsonException: read: premature end, head: 1, peek: �, buf: { "p": [ "北京市", "天津市", "上海市", "重庆市", "河北省", "山西省", "辽宁省", "吉林省", "黑龙江省", "江苏省", "浙江省", "安徽省",...

Hey, we tested your demo example in java and doing some benchmark tests, with your example it seems the STATIC_MODE which should be the fastest mode is much more slower...

We have defined a simple POJO interface (Address) and need to load its implementation class (AddressImpl) dynamically at run time via separate class loader. The class loaded correctly and proper...

Hello, it seems that jsoniter readStrings from inputstream with defaultencoding. An utf8 file on windows produce incorrect chars (like 'é' in french)

The feature is similar as @JsonValue in jackson

get error like this `Failed to resolve: com.jsoniter:jsoniter:0.9.19-SNAPSHOT`