jparse icon indicating copy to clipboard operation
jparse copied to clipboard

Small, Fast, Compliant JSON parser that uses events parsing and index overlay

Results 5 jparse issues
Sort by recently updated
recently updated
newest added

I'm currently exploring various libraries to parse json string partially & lazily, and found jparse, great library with intuitive & simple API. But during testing, i found `PathParser` failed to...

It does not allow numeric keys.. we should allow this as an option in Func Parser {"model":"gpt-3.5-turbo","messages":[{"role":"system","content":"You are a helpful assistant."}],"logit_bias":[{1234:2.0}]}

Broken parser test , this should not pass {"a":"b","c":11,"b"{"a":"b1","c":111}} More borken JSON Parser stuff (this should give a better error) String expectedJson = Json.niceJson("{\"model\":\"gpt-3.5-turbo\"," + "\"messages\":[{\"role\":\"system\",\"content\":" + " \"You are...

``` public static void main(String[] args){ Map map = Json.toMap("{\"\":\"Test\"}"); System.out.println(map); for (Map.Entry entry: map.entrySet()) { System.out.println(entry.getKey()); System.out.println(entry.getValue()); } } ``` Output: ``` {"":"Test"} Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String...

jparse version: 1.2.3 `ParseDouble.parseDouble(char[], int, int)` returns wrong result for number with E-notation. Example value `2.52734104E8` is parsed as `252734104.00000006` or `2.5273410400000006E8` (there's extra .00000006). The bug makes the value...