How to use Parse.Object fromJSON? [duplicate]
问题 This question already has answers here : How to create an object of specific type from JSON in Parse (3 answers) Closed 5 years ago . I checked the docs: http://parse.com/docs/js/api/classes/Parse.Object.html#methods_fromJSON And I did this: Parse.Object.fromJSON(this.document) , but I get: Uncaught Error: Cannot create an object without a className . What's the correct way of using this method? NOTE: console.log(this.document) outputs: Object {} (A Parse object that was previously turned