Hi, I am new to Json.
I have been managing with Json up to now.
However, I have an example, which has a nest with in it.
I have been using something like
Values[1] = Root.workData.ToString();
How do I deal with this?
I guess we have to iterate through the custom attributes some how.
Thanks,
{
“status”: true,
“workData”: {
“calculatedFlag”: false,
“noOfTasks”: “4”,
“customAttributes”: {
“Attribute”: [
{
“name”: “LocationDescription”,
“value”: “Street 1”,
“properties”: “”
},
{
“name”: “StatusDescription”,
“value”: “IN SERVICE”,
“properties”: “”
},
{
“name”: “TypeDescription”,
“value”: “Respond”,
“properties”: “”
}
]
},
“Value”: “0.00”,
“Cost”: “0.00”
}
}
Mate, this is probably the wrong forum for you. This is about JSON:API, not JSON.
However, what do you want to achieve? What language do you use?
You don’t work on the string, you work on the original object. If you only have the JSON string you have to parse the JSON.