(value: str)
| 676 | |
| 677 | |
| 678 | def _escape_json_surrogates(value: str) -> str: |
| 679 | return "".join( |
| 680 | f"\\u{ord(character):04x}" if 0xD800 <= ord(character) <= 0xDFFF else character |
| 681 | for character in value |
| 682 | ) |
| 683 | |
| 684 | |
| 685 | def _normalize_preflight_patch(value: Any, index: int) -> dict[str, Any]: |
no outgoing calls
no test coverage detected