Hi everyone,
I'm just getting started with API calls and using the JSON Parser node, and I'm trying to determine how to reference the output 'jsonVar' values from the JSON Parser node. I have what I think is a simple example of using an API call to get a list of customers from a third party application. In the third party application, I only have two customers currently, and just to get started, I'm trying to get the value of the 'AddressLine1' variable from the second customer.
Below is my JSON Parser variable list, followed by the jsonText that is returned from the JSON Parser node. How would I qualify the jsonVar to point it to the second customer to get the value of 'AddressLine1'? I've tried various combinations of JSONParser9570_jsonVar["MainContact"]["Address"]["AddressLine1"]["value"], and tried putting subscripts in, but not having any luck.

JSONParser9570_jsonText = [{"id":"33b4dd36-be0c-ec11-a814-000d3a9f3a6f","rowNumber":1,"note":{"value":""},"CustomerClass":{"value":"STANDARD"},"CustomerID":{"value":"001234"},"CustomerName":{"value":"Mike's Excavating"},"MainContact":{"id":"55f18d56-a58f-4492-b0ed-f0eeae0b62a1","rowNumber":1,"note":null,"Address":{"id":"fb3574a1-cb31-4827-bb33-c8b4c7f727c2","rowNumber":1,"note":null,"AddressLine1":{"value":"45678 W Diggers Ave"},"AddressLine2":{},"City":{"value":"Green Bay"},"PostalCode":{"value":"54311"},"State":{"value":"WI"},"custom":{}},"Email":{"value":"mfrelich@gbp.com"},"Phone1":{"value":"9204301245"},"custom":{}},"custom":{}},{"id":"c55c055d-7367-ec11-a816-000d3a9f3a6f","rowNumber":2,"note":{"value":""},"CustomerClass":{"value":"STANDARD"},"CustomerID":{"value":"002345"},"CustomerName":{"value":"MAF Test Customer"},"MainContact":{"id":"f58a898f-eada-4fb8-9dda-4e11d997f9b6","rowNumber":1,"note":null,"Address":{"id":"8f1345ee-3977-443f-8afa-24c585f4de23","rowNumber":1,"note":null,"AddressLine1":{"value":"Test Address 1"},"AddressLine2":{"value":"Test Address 2"},"City":{},"PostalCode":{},"State":{},"custom":{}},"Email":{"value":"mfameree@gbp.com"},"Phone1":{},"custom":{}},"custom":{}}]
Thanks in advance,
Mike Fameree