(s, output_file)
| 688 | f.write(str(msg)) |
| 689 | |
| 690 | def to_json(s, output_file): |
| 691 | msg = parse_document(s, output_file) |
| 692 | dct = message_to_json_dict(msg) |
| 693 | with open(output_file, "w") as f: |
| 694 | json.dump(dct, f, indent = 2) |
| 695 | |
| 696 | def to_script_api(s, output_file): |
| 697 | msg = parse_document(s, output_file) |
no test coverage detected