(self)
| 53 | assert extract_json("{broken") is None |
| 54 | |
| 55 | def test_empty_json_object(self) -> None: |
| 56 | assert extract_json('{"empty": {}}') == {"empty": {}} |
| 57 | |
| 58 | def test_json_with_escaped_chars(self) -> None: |
| 59 | text = '{"message": "hello\\nworld"}' |
nothing calls this directly
no test coverage detected