def load_from_json(question_json):
data = json.loads(question_json)<EOL>if isinstance(data, list):<EOL><INDENT>return load_from_list(data)<EOL><DEDENT>if isinstance(data, dict):<EOL><INDENT>return load_from_dict(data)<EOL><DEDENT>raise TypeError(<EOL>'<STR_LIT>',<EOL>type(data))<EOL>
Load Questions from a JSON string.
:return: A list of Question objects with associated data if the JSON
         contains a list or a Question if the JSON contains a dict.
:return type: List or Dict