AnsweredAssumed Answered

JSONSetElement Help

Question asked by fmdataweb on Jul 31, 2018
Latest reply on Aug 1, 2018 by bigtom

Hi  - I'm trying to construct JSON using the JSONSetElement function that will look like this:

{
"Filter": {
"Page": "0",
"Limit": "500",
"OutputSelector": [
"ShippingOption",
"DeliveryInstruction",
"Username",
"Email"
]
}
}

 

I'm completely stumped at this point - I've managed to create the Filter componet as follows:

 

JSONFormatElements (

 

JSONSetElement ( "{}" ;

 

[ "Filter.Page"; 1; JSONString ];

[ "Filter.Limit"; 50; JSONString ]

 

)

 

)

 

but I can't work out how to add the OutputSelector component to this?

Outcomes