pub fn format_json_str(json: &str) -> Result<String, Error>
Expand description
Apply the Cedar policy formatter. Input and output are strings containing
serialized JSON, in the shapes expected by format_json()
.
ยงErrors
Will return Err
if the input cannot be converted to valid JSON or
deserialized as a FormattingCall
.