[Solved] How do I get length of my Json Object [closed]


var string = '{"Decision":[{"recid":"1183","reason":"Approved as Requested","decision":"Approved","approvalamt":"","comment":""},{"recid":"662","reason":"3","decision":"Rejected","approvalamt":"","comment":""},{"recid":"752","reason":"Approved People Resources; But No Funding Approved","decision":"Approved","approvalamt":"","comment":""}]}';

var object = JSON.parse(string);

alert(object.Decision.length);

1

solved How do I get length of my Json Object [closed]