Parses a PerseusItem from a plain object or JSON string, migrates old formats to the latest schema, and runtime-typechecks the result. Use this to parse assessmentItem data.
a Result of the parsed PerseusItem. If the result is a failure, it will contain an error message describing where in the tree parsing failed.
SyntaxError if the argument is not well-formed JSON.
Parses a PerseusItem from a plain object or JSON string, migrates old formats to the latest schema, and runtime-typechecks the result. Use this to parse assessmentItem data.