Example input:
These are polylines from the JSON files. Like: "points" : "{kd_IljoJ" , "points" : "{kd_IljoJd@L|Ab@pA\\r@P", "points" : "qcd_InmoJBSNoAd@}DVsBJk@He@@ERiAPeA@MFi@BMFa@Lu@Hk@", "points" : "mgc_IltnJLe@DI|B}ELU" ... These are polylines in a order and expected output.
And now that's the actual output: "points": "{kd_IljoJ"
As you can see only the first value and stops there.
I played around with the JSON and noticed that when I change the int value of the getJSONObject(0) ti (1) it gives consequent output. That means that I have to somehow loop through all of the getJSONObject(i), but I can't make it work.
That's the JSON itself for you to have a look at ->
https://gist.github.com/Biseamon/dad9e9c5b91b68d4caebcfa8af7a7eb8