-
I'm trying to upgrade my server to 0.5.0 to get off of nightly, and I'm having an issue receiving JSON bodies. Previously I was able to specify an argument as:
where Json is rocket_contrib::json::Json and value is serde_json::Value. Now I get
How is it possible to recieve JSON in the new version? Do I need to manually implement FromData for Json? I've also tried to use rocket_contrib::json::JsonValue but got the same issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think this is a duplicate of #1750: |
Beta Was this translation helpful? Give feedback.
I think this is a duplicate of #1750:
rocket_contrib
has been removed and its functionality has been moved torocket
and other crates.