Take a look at this tutorial. Also you can parse above json like :

JSONArray arr = new JSONArray(yourJSONresponse);
List<String> list = new ArrayList<String>();
for(int i = 0; i < arr.length(); i++){
    list.add(arr.getJSONObject(i).getString("name"));
}
Answer from Saad Asad on Stack Overflow
🌐
Blogger
javarevisited.blogspot.com › 2013 › 04 › convert-json-array-to-string-array-list-java-from.html
How to Convert JSON array to String array in Java - GSon example
Java programming tutorial to convert JSON array to String array with example, by using Gson library. Though you can also use other open source library, Gson seems easy to me.
Discussions

How do you represent a JSON array of strings? - Stack Overflow
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal. ... The 2026 Annual Developer Survey Results Site is live— view the results here! Working on the PHP vulnerability patch? Check out the latest. Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives ... That's a JSON array containing two strings... More on stackoverflow.com
🌐 stackoverflow.com
Convert json array to string
I’m building AI chatbots and having a hard time converting the LLM response into a message that I can send. The LLM API response is inside an array with each word is a separate item. From what I understand this allows streaming but my setup just sends the completed message all at once. More on community.make.com
🌐 community.make.com
4
0
February 17, 2024
PowerAutomate: Json Array to String back to array. JSON() returns only first entry
I think I know what you’re trying to do but I think you are approaching it the wrong way maybe or there is some syntax error perhaps. Take a look at this video which should explain it but you have to init var as an array using output of csv inside of a split function and then map those into a table and then use the outputs of that table into whatever you want I think https://youtu.be/lZDTTVnK8vw Maybe I am not understanding but I think this might help More on reddit.com
🌐 r/PowerPlatform
14
4
December 15, 2021
java - Convert string to JSON array - Stack Overflow
have To Accept it first as a Json Array ,then while reading its Object have to use Object Mapper.readValue ,because Json Object Still in String . More on stackoverflow.com
🌐 stackoverflow.com
🌐
GeeksforGeeks
geeksforgeeks.org › java › how-to-convert-json-array-to-string-array-in-java
How to Convert JSON Array to String Array in Java? - GeeksforGeeks
July 23, 2025 - List since it is then easier to convert List into an array. ... Let's start by creating a List. List<String> exampleList = new ArrayList<String>(); ... We can loop through the JSON array to add all elements to our List.
🌐
YouTube
youtube.com › watch
Json Array To String - YouTube
In this video i have showed how to convert json array element to string( with list of array elements with comma separated).
Published: July 12, 2019
🌐
TutorialsPoint
tutorialspoint.com › article › how-can-we-convert-a-jsonarray-to-string-array-in-java
How can we convert a JSONArray to String Array in Java?
import org.json.*; import java.util.*; public class JsonArraytoStringArrayTest { public static void main(String[] args) { JSONArray jsonArray = new JSONArray(); jsonArray.put("INDIA "); jsonArray.put("AUSTRALIA "); jsonArray.put("SOUTH AFRICA "); jsonArray.put("ENGLAND "); jsonArray.put("NEWZEALAND "); List < String > list = new ArrayList < String > (); for (int i = 0; i < jsonArray.length(); i++) { list.add(jsonArray.getString(i)); } System.out.print("JSONArray: " + jsonArray); System.out.print("\n"); String[] stringArray = list.toArray(new String[list.size()]); System.out.print("String Array: "); for (String str: stringArray) { System.out.print(str); } } }
🌐
Quora
quora.com › How-do-you-convert-a-JSON-object-into-a-String-Array
How to convert a JSON object into a String Array - Quora
Answer: It kind of depends on what you intend on doing with the json object, and possibly what the json object contains. A using object is a linefeed delimited string. It may contain an array as one of its members. So if the intent is to store the entire json object as an array of strings, start...
Find elsewhere
🌐
W3Schools
w3schools.com › js › js_json_server.asp
JavaScript Loading JSON
Use JSON.stringify() to convert the object into JSON text.
🌐
ReqBin
reqbin.com › code › javascript › n2ek7onb › javascript-array-to-json-example
How do I convert JavaScript array to JSON?
The JSON.stringify(value, replacer, space) method in JavaScript converts arrays and objects to a JSON string. This is necessary when sending data over the network using XMLHttpRequest and the Fetch API (or other communication libraries).
🌐
Make Community
community.make.com › questions
Convert json array to string - Questions - Make Community
February 17, 2024 - I’m building AI chatbots and having a hard time converting the LLM response into a message that I can send. The LLM API response is inside an array with each word is a separate item. From what I understand this allows s…
🌐
Reddit
reddit.com › r/powerplatform › powerautomate: json array to string back to array. json() returns only first entry
r/PowerPlatform on Reddit: PowerAutomate: Json Array to String back to array. JSON() returns only first entry
December 15, 2021 -

So I've been trying to tackle this for a while and am a little stuck.

  1. The flow reads output from Excel into an Array (using Filter Array)

  2. I use String() to convert the Array to a single, very long string (Still in the jsonFormat)

So from

[{
"@odata.etag": "",
"Item": "12345",
"figures": "12",
"sourcename[Customername]": "Timmy"
},
{
"@odata.etag": "",
"Item": "567",
"figures": "9",
"sourcename[Customername]": "James"
}
]

This then becomes flat and is 1 very long string. (I can't use SELECT as Key names randomly have a prefix to them.

{"@odata.etag": "","Item": "12345","figures": "12","sourcename[Customername]": "Timmy"},{"@odata.etag": "","Item": "567","figures": "9","sourcename[Customername]": "James"}

3. I then use Compose > and the the replace() function to Analyse the long string and remove "Sourcename[" and ]

So far so good!

1 very long Json String and it's now in the right format (Customername)

--

This is where I run into trouble.

When I use Json() function to convert it back , I only get the very first Object (Where the customer name is Timmy.

anytime I use

json(outputs('compose_3')) 'Compose_3 being the very long Json string (string format).

I get this issue.

If I try splitting the string, I end up which a whole heap of "/" in the String (Which is what you expect when you convert a string to Array, you get a badly formatted Array.

"{\"@odata.etag\"\: \"\",\ etc These are escape characters in the backend (That compose normally filters out visually), but using the Split, it brings them to the front of view.

So I'm stuck on the correct way to handle this very long string and getting it to appear as multiple entries in ParseJson etc. I tried adding a manual "Apply To Each" but kept hitting the same issue with JSON() only returns Timmy and not any other records.

Any thoughts on what I can try here? This is the last step to get this working correctly.

🌐
EDUCBA
educba.com › home › software development › software development tutorials › javascript tutorial › json array of strings
JSON Array of Strings | How JSON Array of String Works? (Examples)
April 14, 2023 - We have seen how JSON array represents an ordered list of values be it string, numbers, Boolean, or an object. Here as per the topic, we have discussed how array of strings are accessed using for loop, how array value can be deleted, multi dimensional array, a nested array with examples listed above for each.
Address: Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › JSON › stringify
JSON.stringify() - JavaScript - MDN Web Docs
August 28, 2026 - The JSON.stringify() static method converts a JavaScript value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.
🌐
W3Schools
w3schools.com › js › js_json_stringify.asp
JavaScript JSON.stringify()
The JSON.stringify() method converts a JavaScript value into JSON text.
🌐
SitePoint
sitepoint.com › blog › javascript › jquery convert json string to array
jquery convert json string to array — SitePoint
February 12, 2024 - Here is an example: $json_str = '{"name":"John", "age":30, "city":"New York"}'; $obj = json_decode($json_str, true); echo $obj['name']; In this example, json_decode() function converts the JSON string into a PHP array, which you can then access like any other PHP array.
🌐
Jsontostring
jsontostring.com
Convert JSON to String Online
The JSON programming language also includes some set of the list or (list of item) it is surrounded with Square Brackets([]) and its name is "JSON Array". Additionally, we don’t have any restrictions on the length of the content you need to convert. Our major goal is to make your editing process simple and effective without taking much of your time. Our JSON to String Converter tool is responsible for extracting all the string values from the JSON which means JavaScript Object Notation file.
🌐
Stleary
stleary.github.io › JSON-java › org › json › JSONArray.html
JSONArray
JSONException - If the key is not found or if the value cannot be converted to a number. public String getString(int index) throws JSONException · Get the string associated with an index. ... A string value. ... JSONException - If there is no string value for the index. ... Determine if the value is null. ... Make a string from the contents of this JSONArray. The separator string is inserted between each element. Warning: This method assumes that the data structure is acyclical. ... JSONException - If the array contains an invalid number.
🌐
Boot.dev
blog.boot.dev › javascript › converting an array to a json object in javascript
Converting an Array to a JSON Object in JavaScript | Boot.dev
October 1, 2022 - The JSON.stringify() method converts a JavaScript object, array, or value to a JSON string.