We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the README includes this text:
Any valid JSON data can be manipulated in the following recursive enum representation. This data structure is serde_json::Value. enum Value { Null, Bool(bool), Number(Number), String(String), Array(Vec<Value>), Object(Map<String, Value>), }
Any valid JSON data can be manipulated in the following recursive enum representation. This data structure is serde_json::Value.
enum Value { Null, Bool(bool), Number(Number), String(String), Array(Vec<Value>), Object(Map<String, Value>), }
The documentation for serde_json::Value includes a similar statement.
serde_json::Value
However, this is not true as both
{ "foo": "\ud800" }
and
{ "\ud800": "bar" }
are valid JSON data but cannot be represented by the Value enum.
Value
It would be nice to add a note explaining that invalid UTF-16 surrogate pairs are not supported.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently the README includes this text:
The documentation for
serde_json::Value
includes a similar statement.However, this is not true as both
and
are valid JSON data but cannot be represented by the
Value
enum.It would be nice to add a note explaining that invalid UTF-16 surrogate pairs are not supported.
The text was updated successfully, but these errors were encountered: