schemaFromJSON
function schemaFromJSON(text): WorkbookSchema;Parses and sanity-checks a schema exported as JSON. Throws a TextError that
says what is wrong: its text to show in the editor’s language, its
message in English.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text |
string |