pub fn decode_write_body(
value: &Value,
path: OpPath,
) -> Result<WriteBody, ParseError>Expand description
Decode a JSON request body into fields and operations.
path decides one wire-visible error message: a non-numeric Increment.amount reports
objects to add must be an array on create, a copy-paste bug at
DatabaseController.js:326-330, and incrementing must provide a number on update.