nanojson icon indicating copy to clipboard operation
nanojson copied to clipboard

A tiny, compliant JSON parser and writer for Java

Results 7 nanojson issues
Sort by recently updated
recently updated
newest added

So it appears that non-finite numbers produce invalid JSON, as far as I can tell. For example, the following round trip crashes: ```java String json = JsonWriter.string().value(Double.NaN).done(); JsonReader.from(json).doubleVal(); ``` The...

Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.10.1 to 3.13.0. Release notes Sourced from org.apache.maven.plugins:maven-compiler-plugin's releases. 3.13.0 🚀 New features and improvements [MCOMPILER-574] - Propagate cause of exception in AbstractCompilerMojo (#232) @​slawekjaranowski [MCOMPILER-582] -...

dependencies

# Stack overflow error caused by nanojson parsing of untrusted JSON String ## Description Using **nanojson** to parse untrusted JSON String may be vulnerable to denial of service (DOS) attacks....

Per conversation with @dweiss in another issue, we should probably have a reader mode where exceptions are more readily thrown for things like type cast exceptions.

If you're going to use jmods and jlink, an automatic module name is not sufficient as the java module dependencies are lacking. I have a jdk11 version to solve this,...

just a byte array mode that returns `byte[]` that can be used as body in http(-s) requests and most other socket connections

This is kind of a "gotcha" type issue but I think my reasoning is sound. nanojson parses Java character literals correctly (and goes to great lengths to make sure the...