gson-comments/gson/src
Marcono1234 2d01d6a20f
Make Object and JsonElement deserialization iterative (#1912)
* Make Object and JsonElement deserialization iterative

Often when Object and JsonElement are deserialized the format of the JSON
data is unknown and it might come from an untrusted source. To avoid a
StackOverflowError from maliciously crafted JSON, deserialize Object and
JsonElement iteratively instead of recursively.

Concept based on 51fd2faab7
But implementation is not based on it.

* Improve imports grouping

* Address review feedback
2022-06-22 17:42:19 -07:00
..
main Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00
test Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00