Count json objects


Good morning, Please how to count json objects, in my view i want to return the result in a label.


Hi, As per the Welcome thread, your odds of being (correctly) answered are higher at StackOverflow.

Hint: your question only seems half-part Ember related: Counting => not Ember-related; Displaying => Ember-related.


Thanks, In my view i have a label, i have to put on it the count of json objects, so it will be updates every time that the json results changed, i hope i was clear.


Just bind the json’s length to the template?