# CHAPTER 15. PDF and JSON def outputJSON(filename, parse_content, no_stream_data, pdf): """Output a PDF in JSON format to the given filename. If parse_content is True, page content is parsed. If no_stream_data is True, all stream data is suppressed entirely."""