Function cedar_policy::ffi::validate_json
source · 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
.