Skip to main content

json_field

Function json_field 

Source
fn json_field<T>(value: &Value, field: &str) -> Result<T, Status>
Expand description

A missing or mistyped field means the upstream type changed, which is a 500 rather than an empty value. v1 writes byte fields as integer arrays, which read back as Vec<u8>.