Discussions

Ask a Question
Back to All

Nested values in JSON

How do I sum the number "Value" values from the following JSON?

var people = [
{
"nn_rs": {
"Value": 284
},
"nn_ci": {
"FullName": "John Doe"
}
},
{
"nn_rs": {
"Value": 845
},
"nn_ci": {
"FullName": "Jane Doe"
}
}];

Thanks