Closed gamma-delta closed 1 year ago
Using Jankson 1.2.1.
1.2.1
MVE:
Jankson jankson = Jankson.builder().build; String src = " { \"foo\": 0xDEADBEEF } "; JsonObject obj = jankson.load(src);
Expected behavior: A json object with 0xdeadbeef in it.
0xdeadbeef
What happens: A syntax error. Tried to parse '' as a hexadecimal number, but it appears to be invalid.
Tried to parse '' as a hexadecimal number, but it appears to be invalid.
I'm able to reproduce both errors, and a test has been added. This should be fixed shortly.
We're all set! The 1.2.2 release will contain this fix.
Using Jankson
1.2.1
.MVE:
Expected behavior: A json object with
0xdeadbeef
in it.What happens: A syntax error.
Tried to parse '' as a hexadecimal number, but it appears to be invalid.