def _get_object_parser(self, json):
typ = self.typ<EOL>dtype = self.dtype<EOL>kwargs = {<EOL>"<STR_LIT>": self.orient, "<STR_LIT>": self.dtype,<EOL>"<STR_LIT>": self.convert_axes,<EOL>"<STR_LIT>": self.convert_dates,<EOL>"<STR_LIT>": self.keep_default_dates, "<STR_LIT>": self.numpy,<EOL>"<STR_LIT>": self.precise_float, "<STR_LIT>": self.date_unit<EOL>}<EOL>obj = None<EOL>if typ == '<STR_LIT>':<EOL><INDENT>obj = FrameParser(json, **kwargs).parse()<EOL><DEDENT>if typ == '<STR_LIT>' or obj is None:<EOL><INDENT>if not isinstance(dtype, bool):<EOL><INDENT>kwargs['<STR_LIT>'] = dtype<EOL><DEDENT>obj = SeriesParser(json, **kwargs).parse()<EOL><DEDENT>return obj<EOL>
Parses a json document into a pandas object.