How do you import a nested JSON Array? Seguir

0
Avatar
Bart Ooms

{
    "value": "Test",
    "value2": "Test2",
    "value3": [
        {
            "value": "Test",
            "value2": "Test2",
            "value3": []
        },
        {
            "value": "Test",
            "value2": "Test2",
            "value3":[]
        }
    ]
}

2 comentarios

0
Avatar
Xabier Clemente
Moderador
Acciones de comentarios Permalink

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!

0
Avatar
Dwain Pattillo
Acciones de comentarios Permalink

Hi Xabier,

Would you have an example of a web integration using nested JSON? 

Iniciar sesión para dejar un comentario.