JSON is not always guaranteed to be UTF-8. It wasn't updated to mandate that until 2017 https://www.tbray.org/ongoing/When/201x/2017/12/14/RFC-8259-...
That said, I certainly hope that it is, generally speaking.
That said, I certainly hope that it is, generally speaking.
The stringify function returns a String in UTF-16 encoded JSON format representing an ECMAScript value, or undefined.