def _unquote_json(quoted_json_document):
 json_document = unquote(quoted_json_document)
 return json.loads(json_document)

def _unquote_json ( quoted_json_document ) : json_document = unquote ( quoted_json_document ) return json . loads ( json_document )
uri-decode and then json-decode the given document .