You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be convenient to catch errors in the deserialization step and the users of the crate won't have to manually convert each field while trying to use them.
However, the conversion to integer needs to be treated.
Some JSON bodies pass integers as strings.
Here's the current struct for this (simplified):
It must be changed to:
Where
Integer
is our type alias fori128
andserde_hacks
is the custom deserialization for that specific field.Some options to customize this:
The text was updated successfully, but these errors were encountered: