Hi, I’m trying to add data inside an array of a JSON. I got that JSON deserialized into a JObject
but I don’t know how to add data to the array
Exemple:
{
“NAME”:“JOHN”,
“AGE”:“30”,
“LIST”:
[
{
“ITEM01”:“Car”,
“ITEM02”:“Cellphone”
}
]
}
I want to add a JObject to the array “LIST”
Example of what I want to add:
{
“ITEM01”:“Wallet”,
“ITEM02”:“Keys”
}
ppr
(Peter Preuss)
August 29, 2020, 3:41pm
2
@Alamyr_Junior
find some starter help here:
JsonAdd_ItemToArray.xaml (6.4 KB)
Data.json (93 Bytes)
Result.json (190 Bytes)
It was just about introducing some different building blocks. Feel free to opimize it
4 Likes
Thanks ppr. It really helped!
Regards,
Alamyr
system
(system)
Closed
September 2, 2020, 11:29am
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.