java
java copied to clipboard
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
ramesh
This pull request tries to address the issue #302 This solution uses the Record's canonical constructor by default to create instances of the Records. Other constructors can be used with...
When I try to deserialize a record, I get the following error: ``` com.jsoniter.spi.JsonException: no constructor for: class ch.knezevic.school.LastDone at ch.knezevic.school.FeedTest.shouldDecodeLastDone(FeedTest.java:67) ``` The test looks like this: ``` private static...
``java JsonStream.serialize(object) `` Error exception ``java Caused by: com.jsoniter.spi.JsonException: can not encode map key type: class java.util.jar.Attributes$Name at com.jsoniter.output.MapKeyEncoders.createDefaultEncoder(MapKeyEncoders.java:39) at com.jsoniter.output.MapKeyEncoders.registerOrGetExisting(MapKeyEncoders.java:17) at com.jsoniter.output.MapKeyEncoders$DynamicKeyEncoder.encode(MapKeyEncoders.java:74) at com.jsoniter.output.JsonStream.writeObjectField(JsonStream.java:340) at com.jsoniter.output.ReflectionMapEncoder.writeEntry(ReflectionMapEncoder.java:57) at com.jsoniter.output.ReflectionMapEncoder.encode(ReflectionMapEncoder.java:42) at...
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.2.0rc2 to 3.16.1. Release notes Sourced from protobuf-java's releases. Protocol Buffers v3.16.1 Java Improve performance characteristics of UnknownFieldSet parsing (#9371) Protocol Buffers v3.16.0 C++ Fix compiler warnings...
CVE-2021-23441 flagged [here](https://github.com/advisories/GHSA-h9w3-f7x6-v54c): *Description* All versions of package com.jsoniter:jsoniter are vulnerable to Deserialization of Untrusted Data via malicious JSON strings. This may lead to a Denial of Service, and in...
This pull request tries to address the issue https://github.com/json-iterator/java/issues/229 Especially with so many managed services on the Cloud, some of which we do not have any control over the initialization...
trying to use with java8 springboot gives the following error. Is there a work around for this? ``` at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at...
Can the performance gap with DSL Json in https://github.com/fabienrenaud/java-json-benchmark be closed by further optimising this library please.
Hi, Is there a way to extend the serializer so that it will skip fields that are null? I need this to save space. thx Gerald