in reply to Re^2: JSON character encoding
in thread JSON character encoding
This statement is true – but implied. Therefore, let me clarify my previous statement.
The character-encoding of the transferred data must be agreed-upon by both the sending and the receiving parties. The specification says that the data can be UTF-encoded, which is to say that the JSON data-format has no encoding scheme of its own. Furthermore, the character-encoding (or lack thereof) of the transferred data has no bearing on how the data is packaged into syntactically valid, parseable, “JSON.” The structural format does not contain nor rely upon Unicode characters. Rather, it is agnostic to them. It is equally capable of “sending the necessary bytes to you, correctly,” no matter how you consider the bytes that you received “to have been ‘encoded,’ if at all.”
Thank you for the clarification, “Mom.” That was, indeed, an important point.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: JSON character encoding
by Anonymous Monk on May 31, 2017 at 07:51 UTC | |
by RonW (Parson) on May 31, 2017 at 22:42 UTC |