Response cleaning
Function characters are automatically removed to ensure valid JSON responses
Some APIs return data, in a format that is incorrect JSON, as it contains function character, and thus can't be parsed as JSON.
In order to be able to parse these responses to JSON, all function characters (except for the characters for 9 (\t, tab), 10 (\n, newline), and 13 (\r, carriage return)) are automatically removed from responses.
Copy link