Skip to main content

classify_field

Function classify_field 

Source
pub fn classify_field(
    value: Value,
    path: OpPath,
) -> Result<FieldWrite, ParseError>
Expand description

Decode one field of a write body.

Tries the op decoder first, because an op object is structurally an ordinary object and crate::decode::classify would happily accept it as one.