Forum Discussion

manohar's avatar
manohar
Contributor
5 years ago
Solved

Double array to single array

Hi there, I have data coming as below in double array. how can I make it to single array? any help is greatly appreciated. Thanks Manohar [[ { type:“AttachmentText” intent:“Supplier” ...
  • ptaylor's avatar
    5 years ago

    Just map $[0] to $.

    Also, whenever you paste JSON into this forum, please always use the </> button so it’s enclosed as a code block.Otherwise the forum will change all the double quotes to be like English text and then the JSON is unusable without manual editing.