06-24-2021 02:15 PM
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”
text:“This is sample text.”
}
]]
to
[
{
type:“AttachmentText”
intent:“Supplier”
text:“This is sample text.”
}
]
Solved! Go to Solution.
06-24-2021 02:29 PM
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.
06-24-2021 02:29 PM
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.