Closed romweinstein closed 6 years ago
Hi, In case a JsonObject contains more than 127 fields when removing a filed and than get a field sometimes throws IndexOutOfBoundsException
example.txt
Run the code on example : JsonObject jsonObject = Json.parse(s).asObject(); jsonObject.remove("x_0"); jsonObject.getString("x_7",null);
Good catch, thanks for the but report @romweinstein!
Hi, In case a JsonObject contains more than 127 fields when removing a filed and than get a field sometimes throws IndexOutOfBoundsException
example.txt
Run the code on example : JsonObject jsonObject = Json.parse(s).asObject(); jsonObject.remove("x_0"); jsonObject.getString("x_7",null);