Customise the json request body #1763
Unanswered
sagarnayak
asked this question in
Questions
Replies: 1 comment 1 reply
-
I don't understand the question. Is this different from #1757? For serde, see serde.rs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to handle any unwanted data types for a struct when I get a JSON request in a post req. If I get a u16 in place of a String then the only place I can handle this is a catcher.
also, is there a way to customize the field name in Struct for JSON as it is possible in Form data?
Current implementation - Github Repo
Beta Was this translation helpful? Give feedback.
All reactions