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
The docs appear to say:
serde-json-wasm/src/lib.rs
Line 11 in 2ab22a6
Lines 15 to 18 in 2ab22a6
However, looking at the API, DeserializedOwned is required:
DeserializedOwned
serde-json-wasm/src/de/mod.rs
Lines 654 to 656 in 2ab22a6
What's the right way to use the lib to do deserialisation with &str fields being a zero copy?
Thanks!
The text was updated successfully, but these errors were encountered:
The docs are outdated, thank you for pointing this out. They are from the original serde-json-core.
For JSON neither serialization nor deseralization can be done zero-copy without heavily restricting the supported contents because of escaping. E.g.
\
"\\"
"23\u00B0C"
23°C
Sorry, something went wrong.
No branches or pull requests
The docs appear to say:
serde-json-wasm/src/lib.rs
Line 11 in 2ab22a6
serde-json-wasm/src/lib.rs
Lines 15 to 18 in 2ab22a6
However, looking at the API,
DeserializedOwned
is required:serde-json-wasm/src/de/mod.rs
Lines 654 to 656 in 2ab22a6
What's the right way to use the lib to do deserialisation with &str fields being a zero copy?
Thanks!
The text was updated successfully, but these errors were encountered: