- priority: 5 --> 9
- assigned_to: nobody --> aalmiray
The JSONTokener from json.org lets you instantiate a JSONTokener around a Reader or a String. The one in JSON-lib only supports String.
I'm not sure the chronology to know if you removed it from the code from org.json or if it was added to the json.org library after you started your code.
But the bottom line is that this functionality is absolutely crucial for a serious JSON library.
The use case is that I want to receive a stream of multiple JSON objects one after the other. I know you are probably thinking that I should use an array instead of concatenating objects in the stream. The problem with that is it means the entire array must be parsed and loaded into memory before you can process any of the objects.
Please add this absolutely necessary functionality.