java
java copied to clipboard
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
When trying to convert to JSON a map with a key different than String it will give an error. The example below doesn't work. ``` Map map = new HashMap();...
Hi, I'm wondering if there's any plan to support Kotlin code (similarly to how https://github.com/FasterXML/jackson-module-kotlin/blob/master/src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinModule.kt does it) Specifically: if I have a data class: data class User(@JsonProperty("userName") val name: String)...
I have been trying to use JSONIter 0.9.22 for my POJO's containing java.sql.Date and java.sql.Timestamp . The Serialization part works fine. But the De-Serialization seems to fail. It seems the...
The documentation at [Sitepoint](https://www.sitepoint.com/php-style-json-parsing-in-java-with-jsoniter/) is actually very much explanatory than the "official" one at [jsoniter](http://jsoniter.com/java-features.html#iterator-api--bind-api) I suggest you include the [Sitepoint](https://www.sitepoint.com/php-style-json-parsing-in-java-with-jsoniter/) link in the official [jsoniter](http://jsoniter.com/java-features.html#iterator-api--bind-api) page
Currently when reading a number, a Double value is created, then it's converted to long or int if there is no dot in the string. If it was parsed directly...
It seems that Kotlin data classes with non-nullable properties or with immutable properties (val) don't get their values when deserialized. Related: #55
https://github.com/json-iterator/java/commit/a55ed533f37a9f5e03f3267cf19950f2bf1db7f0#commitcomment-28484622
Add module info for java9 support?
If I try to read an Any as a Kotlin data class that contains an immutable list, I get an error on `ReflectionCollectionDecoder.decode_ line 44: col.clear()` Example data class that...
Slices may be always used instead of Strings. They can be read fast way, when there are no multibyte chars or escape sequences, or slow way, with String allocation. Not...