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
merged 2 commits into from Jan 22, 2022
Merged

Support deserializing map key as &RawValue #851

merged 2 commits into from Jan 22, 2022

Commits on Jan 22, 2022

  1. Add test of deserializing a &RawValue in map key position

    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/test.rs:2230:52
    dtolnay committed Jan 22, 2022
    Copy the full SHA
    6a3fb68 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e5cdfcc View commit details
    Browse the repository at this point in the history