@staticmethod<EOL><INDENT>def load_from_json(data):<DEDENT>
if isinstance(data, str):<EOL><INDENT>data = json.loads(data)<EOL><DEDENT>applications = [<EOL>ApplicationResponse.load_from_json(a) for a in data['<STR_LIT>']<EOL>] if data['<STR_LIT>'] is not None else []<EOL>return RegistryResponse(<EOL>data['<STR_LIT>'], data['<STR_LIT:success>'],<EOL>data['<STR_LIT>'], data['<STR_LIT:count>'], applications<EOL>)<EOL>
Load a :class:`RegistryReponse` from a dictionary or a string (that
will be parsed as json).