parameters: (self)
return_statement: return obj
docstring: Read the whole JSON input into a pandas object.
docstring_summary: Read the whole JSON input into a pandas object.
docstring_tokens: Read the whole JSON input into a pandas object .
function: def read(self):
          """
          Read the whole JSON input into a pandas object.
          """
          if self.lines:
              if self.chunksize:
                  obj = concat(self)
              elif self.nrows:
                  lines = list(islice(self.data, self.nrows))
                  lines_json = self._combine_lines(lines)
                  obj = self._get_object_parser(lines_json)
              else:
                  data = ensure_str(self.data)
                  data_lines = data.split("\n")
                  obj = self._get_object_parser(self._combine_lines(data_lines))
          else:
              obj = self._get_object_parser(self.data)
          self.close()
          return obj
function_tokens: def read ( self ) : if self . lines : if self . chunksize : obj = concat ( self ) elif self . nrows : lines = list ( islice ( self . data , self . nrows ) ) lines_json = self . _combine_lines ( lines ) obj = self . _get_object_parser ( lines_json ) else : data = ensure_str ( self . data ) data_lines = data . split ( "\n" ) obj = self . _get_object_parser ( self . _combine_lines ( data_lines ) ) else : obj = self . _get_object_parser ( self . data ) self . close ( ) return obj