def registry_adapter(obj, request):
return {<EOL>'<STR_LIT>': obj.query_uri,<EOL>'<STR_LIT:success>': obj.success,<EOL>'<STR_LIT>': obj.has_references,<EOL>'<STR_LIT:count>': obj.count,<EOL>'<STR_LIT>': [{<EOL>'<STR_LIT:title>': a.title,<EOL>'<STR_LIT>': a.uri,<EOL>'<STR_LIT>': a.service_url,<EOL>'<STR_LIT:success>': a.success,<EOL>'<STR_LIT>': a.has_references,<EOL>'<STR_LIT:count>': a.count,<EOL>'<STR_LIT>': [{<EOL>'<STR_LIT>': i.uri,<EOL>'<STR_LIT:title>': i.title<EOL>} for i in a.items] if a.items is not None else None<EOL>} for a in obj.applications] if obj.applications is not None else None<EOL>}<EOL>
Adapter for rendering a :class:`pyramid_urireferencer.models.RegistryResponse` to json.

:param pyramid_urireferencer.models.RegistryResponse obj: The response to be rendered.
:rtype: :class:`dict`