pub fn validate_json(json: Value) -> Result<Value, Error>
Expand description
Input is a JSON encoding of ValidationCall
and output is a JSON
encoding of ValidationAnswer
ยงErrors
Will return Err
if the input JSON cannot be deserialized as a
ValidationCall
.