Troy | 2018-07-09 14:03:50 UTC | #1
I have situation where I am forced to use a Bridge Connector and the am struggling with schema's where they wont save. I am wondering if you can direct me to any examples showing how we can map arrays and objects with no labels, same labels and to get array variables.
My example response is, [ { "name": "string", "count": 0, "records": [ { "name": "string", "value": "string" } ] } ]
What I am uncertain about is how to map the outside array. How do I map the internal array (records) to get [0], [1], [2] etc. How do I have this knowing that the label "name" is in their twice.
Thanks,
Jason_Mathison | 2018-07-10 14:08:05 UTC | #2
Can you include what you have tried?
In general I think that you just need to have a schema that matches the response object. The results will be flattened, which would turn all of the records->name entries into an array as well as putting all of the records->value entries into another array.
system | 2018-08-10 14:08:12 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3144