Skip to content

Read top‐level arrays

Vengaunt edited this page Sep 23, 2026 · 2 revisions

Read top-level arrays

Decode Json fills a JSON object. A payload that is only an array, such as [{...}, {...}], is not an object, so that node will not accept it.

Decode Json Value will. Pass the response string to it, then call As Array on the returned value.

If you want the array inside an object instead, wrap the body before decoding:

{"myarray": <original array text>}

Construct Json Object, Decode Json that wrapped string, then Get Array Field with the name myarray.

Wrapping a top-level array before Decode Json

The screenshot shows the wrap used with Call URL and Decode Json. The response string in that graph is the same text Get Response Content As String returns.

Clone this wiki locally