3 ms·
>8.1. Character Encoding > JSON text exchanged between systems that are not part of a closed ecosystem MUST be encoded using UTF-8 [1]. I don't know what y
by stkdump 3y ago
>8.1. Character Encoding
> JSON text exchanged between systems that are not part of a closed ecosystem MUST be encoded using UTF-8 [1].
I don't know what you mean by controls (you mean unicode control characters, for which the spec explicitly states that they are to be escaped?), but since JSON should really only be exchanged as UTF-8, surrogate pairs play no role.
[1] https://www.rfc-editor.org/rfc/rfc8259 https://www.rfc-editor.org/rfc/rfc8259