#54560Replace JavaScriptEncoder with json_encode()
Description
The JavaScriptEncoder class is used a lot in the TYPO3 backend. It does expensive character conversions, character by character.
It would improve performance a lot if we use PHP native json_encode to do the encoding for us.
Please see attached screenshot.