ember.js - How to get records in JSON format from the model in emberjs? -


i accessing model data using .find method how records in json format model? getting output .find() as: (console log view)

class {type: function, store: class, isloaded: true, isupdating: true, tostring: function…} ember1375269653627: "ember313" __ember1375269653627_meta: meta _super: undefined content: function () { isloaded: true isupdating: false set content: function (value) { store: class tostring: function () { return ret; } type: grid.modalmodel __proto: object

i new user of community, unable upload image.

if you're using ember model, model.tojson(). if trying values model should use getter model.get('name').


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -