(input: string, reverse: Boolean)
| 699 | ] |
| 700 | |
| 701 | function handleEscapesJSONParse(input: string, reverse: Boolean): string { |
| 702 | for (const element of jsonEscapeCharacters) { |
| 703 | input = reverse ? input.replaceAll(element.value, element.escape) : input.replaceAll(element.escape, element.value) |
| 704 | } |
| 705 | return input |
| 706 | } |
| 707 | |
| 708 | function iterateEscapesJSONParse(input: any, reverse: Boolean): any { |
| 709 | for (const element in input) { |
no outgoing calls
no test coverage detected