class_docstr: Functions to interpret Parsr's resultant JSON file, enabling
  access to the underlying document content
class_docstr_tok: ["Functions","to","interpret","Parsr","'s","resultant","JSON","file",",","enabling","access","to","the","underlying","document","content"]
code: def __get_text_objects(self, page_number=None):
      texts = []
      if page_number is not None:
          page = self.get_page(page_number)
          if page is None:
              logging.error(
                  "Cannot get text elements for the requested page; Page {} not found".format(
                      page_number
                  )
              )
              return None
          else:
              for element in page["elements"]:
                  if element["type"] in self.__get_text_types():
                      texts.append(element)
      else:
          texts = self.__text_object_none_page(texts, page_number)
  
      return texts
  
file_path: doc-parsr/clients/python-client/parsr_client/parsr_output_interpreter.py
imports: import logging
label_desc: Use image node_id 4 for calling the ParsrOutputInterpreter obj's underlying member method code with example usage: obj.__get_text_objects(page_number) and returns: texts, None