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

The docs indicate you need to call `JsoniterSpi.registerTypeDecoder(TestObject.class, ReflectionDecoderFactory.create(TestObject.class));` to enable reflection for a type but ReflectionDecoderFactory isn't a public class.

Given: the following class: ```kt data class Person(val name: String) ``` Serialization works: ```kt val json = JsonStream.serialize(Person("fred")) ``` But deserialization fails: ```kt val p = JsonIterator.deserialize(json, Person::class.java)) ``` with...

Imagine we have some json > { "id": "Bla", "name": "x", "source": { "id": "2" } } And we wanna have this output: `public class Record{ public String id; public...

I found that when my source is "slow", buffer grows infinitely till it throws `java.lang.NegativeArraySizeException`. Spent quite some time trying to find minimal reproducible example (it was failing on my...

If `ObjectLazyAny` instance already have filled cache, iterator created by `ObjectLazyAny.entries()` breaks down. it `next()` always return false.

JsonIter 0.9.23 JDK 1.8.0_181 When deserializing a list of objects (size > 1) with an enum attribute with default value it fails with "Can not set br.com.test.DummyType field br.com.test.Dummy.type to...

Seems like support would be perfect fit. Please consider map library's annotations (at least `JsonProperty` and `JsonCreator`) to `jakarta.json.bind:jakarta.json.bind-api`. We would definitely go for it if you'd support more generic...

I use your lib in android app. Before I used `classpath "com.android.tools.build:gradle:3.1.3"` and all worked fine. But now I have increased version of gradle `"com.android.tools.build:gradle:3.4.0"` and Android Studio shows me...

是否支持通过annotation设置序列化/反序列化的别名问题

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