Skip to content
New issue

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

Support deserializing map key as &RawValue #851

merged 2 commits into from Jan 22, 2022

Support deserializing map key as &RawValue #851

merged 2 commits into from Jan 22, 2022


Copy link

@dtolnay dtolnay commented Jan 22, 2022

No description provided.

dtolnay added 2 commits Jan 22, 2022
Currently fails with:

    ---- test_raw_value_in_map_key stdout ----
    thread 'test_borrowed_raw_value' panicked at 'called `Result::unwrap()`
    on an `Err` value: Error("invalid type: newtype struct, expected any
    valid JSON value", line: 1, column: 2)', tests/
@dtolnay dtolnay merged commit cbb0342 into master Jan 22, 2022
30 checks passed
@dtolnay dtolnay deleted the rawkey branch Jan 22, 2022
Copy link

jplatte commented Jan 24, 2022

This also affects Box<RawValue>, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants