Function cedar_policy::ffi::check_parse_policy_set_json
source · pub fn check_parse_policy_set_json(json: Value) -> Result<Value, Error>
Expand description
Check whether a policy set successfully parses. Input is a JSON encoding of
PolicySet
and output is a JSON encoding of CheckParseAnswer
.
§Errors
Will return Err
if the input JSON cannot be deserialized as a
PolicySet
.