pub fn deserialize_json_with_optional_fields_wrapper<T>(
json_value: &Value,
) -> Result<T, Error>where
T: DeserializeOwned,
Expand description
Attempt to deserialize json_value
into T
.
If the top‐level attempt fails, the function looks for a nested "fields"
object and tries again.
All paths are heavily traced so we can see exactly where deserialization
succeeds or fails.