About EasyMorph Tutorials & Examples Web-help

Construct JSON without field names

How do i construct my json if i need it to not have the field names in the construct?
{
“firstName”: “Bart”,
“lastName”: “Simpson”,
“email”: “bart.simpson@thryv.com”,
“embeddedData”:{
“package_id”: “xyz”,
“plan”: “Silver”,
“company_name”: “Angie’s Steakhouse”,
“BA”: “CRIS MULLINS”,
“TSS”: “TSS NAME”,
“MGR”: “MGR NAME”
}

Rightnow under embeddedData it shows up like {“Labels”:“account_name”,“Data”:“Angie’s Steakhouse”}. i don’t want “labels” or “data” in there. Thank you!!!

Hi,

Use pivot action to create column with “Columns lables” as “Labels” and “Data” as “Data”.
image

i am actually trying to remove the Labels and Data from the body of the json.

{
“firstName”: “Bart”,
“lastName”: “Simpson”,
“email”: “bart.simpson@thryv.com”,
“embeddedData”:{
“package_id”: “xyz”,
“plan”: “Silver”,
“company_name”: “Angie’s Steakhouse”,
“BA”: “CRIS MULLINS”,
“TSS”: “TSS NAME”,
“MGR”: “MGR NAME”
}

Never mind! that worked perfectly. Thank you so much!!!

To learn more about EasyMorph visit easymorph.com.