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
This should be mostly useful for internal use (or for when submitting a bug report for the crate). The users of the crate shouldn't have to interact directly with the raw JSON ever since it is fully parsed into structs.
This won't add a new dependency since serde_json is already used by reqwest.
This is a low priority issue so I'll do this eventually™.
Checklist
replace all the response.json::<SomeStruct>().await?; calls to a response.text().await? and serde_json::from_str::<SomeStruct>(...) calls
Make sure to redact any sensitive information before saving to the error struct
Maybe feature gate (or debug build gate?) this entire thing to not move giant strings around all the time
The text was updated successfully, but these errors were encountered:
This should be mostly useful for internal use (or for when submitting a bug report for the crate). The users of the crate shouldn't have to interact directly with the raw JSON ever since it is fully parsed into structs.
This won't add a new dependency since
serde_json
is already used byreqwest
.This is a low priority issue so I'll do this eventually™.
Checklist
response.json::<SomeStruct>().await?;
calls to aresponse.text().await?
andserde_json::from_str::<SomeStruct>(...)
callsThe text was updated successfully, but these errors were encountered: