A string will be treated as a document authoring document in JSON format and loaded. An object will be treated as a JavaScript representation of a Document Authoring document (e.g. the result of JSON.parse on a Document Authoring JSON string).
string
object
JSON.parse
A
string
will be treated as a document authoring document in JSON format and loaded. Anobject
will be treated as a JavaScript representation of a Document Authoring document (e.g. the result ofJSON.parse
on a Document Authoring JSON string).