Display Json Response From Parse.com Using Handlebars
I would like to pass a json response to handlebars. I have looked at the parse documentation and stackoverflow questions but I cannot seem to figure this out. This is the response
Solution 1:
Results is an array. Try passing the first element to the template.
var html = template(results[0]);
Solution 2:
And if Hector's answer doesn't work, try this:
var html = template(results[0].attributes);
Solution 3:
If you are using EmberJS Ember-Model-Parse-Adapter is good
Post a Comment for "Display Json Response From Parse.com Using Handlebars"