How do you import a nested JSON Array?
{
"value": "Test",
"value2": "Test2",
"value3": [
{
"value": "Test",
"value2": "Test2",
"value3": []
},
{
"value": "Test",
"value2": "Test2",
"value3":[]
}
]
}
0
-
Hi Bart!
Welcome to the BarTender Community Forums.
While nesting data in a JSON array is not supported yet by default, we can work around this limitation by enumerating each element in the array (basically we can create a loop to extract the nested information and have the integration work with it as if it were a 'not nested' JSON).
Here is a link to a Pastebin containing a sample of how to do so. You can download the file and change its extension from ".txt" to ".btin" so it'll work as an integration file.
I hope this helps!1 -
Dwain Pattillo
★ BarTender Hero ★
Hi Xabier,
Would you have an example of a web integration using nested JSON?
0
Please sign in to leave a comment.
Comments
2 comments