I wan't to find the number of records in a keyed json object in jquery.
For example if I have an indexed object as follows
var json = [{"key1":{"value":"33"},"key2":{"value":"36 "},"key3":{"value":"38"},"key4":{"value":"41"}}]
How could I get a count of the number of records? (their are 4 records)
Object.keys(json[0]).length