def _json_processor(self, retrieved):
json_kwargs = {}<EOL>if self.preserve_json_order:<EOL><INDENT>json_kwargs["<STR_LIT>"] = OrderedDict<EOL><DEDENT>try:<EOL><INDENT>items = [<EOL>json.loads(e["<STR_LIT:content>"][<NUM_LIT:0>]["<STR_LIT:value>"], **json_kwargs)<EOL>for e in retrieved.entries<EOL>]<EOL><DEDENT>except KeyError:<EOL><INDENT>return self._tags_data(retrieved)<EOL><DEDENT>return items<EOL>
Format and return data from API calls which return Items