Function cedar_policy::ffi::check_parse_entities_json_str
source · pub fn check_parse_entities_json_str(json: &str) -> Result<String, Error>
Expand description
Check whether a set of entities successfully parses. Input and output are
strings containing serialized JSON, in the shapes expected by
check_parse_entities_json()
.
§Errors
Will return Err
if the input cannot be converted to valid JSON or
deserialized as a Entities
.