1
我查了文檔:http://parse.com/docs/js/api/classes/Parse.Object.html#methods_fromJSON如何從JSON中使用Parse.Object?
而且我這樣做:Parse.Object.fromJSON(this.document)
,但我得到:Uncaught Error: Cannot create an object without a className
。
使用此方法的正確方法是什麼?
注:console.log(this.document)
輸出:Object {}
(以前變成一個JSON對象與toJSON
解析對象)