Skip to content
Advertisement

Tag: org.json

convert java arraylist to array using for loop

I have viewed the many similar topics here, none have allowed me to resolve: The many examples I have seen all create an array list by adding in the code, I already have the arrayList. I just need to modify it as an array string and not an arrayList so that I may properly format it as a JSON string

Advertisement