I have to deal with multiple thousands of JSON objects that I am getting from a url in Java. I tried using the usual JSON code I have but I get the error Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at 2 [character 3 line 1]
Because there are no curly braces present in the JSON data only square brackets around each JSON object.
I would appreciate any help I can get with this.
BTW the code I was trying to use was the code posted in the highest answer here:simplest way to read json from a URL in java
Thanks