MCPcopy Create free account
hub / github.com/cedar-policy/cedar-java / validate_with_level_json_str

Function validate_with_level_json_str

CedarJavaFFI/src/helpers.rs:140–143  ·  view source on GitHub ↗
(json: &str)

Source from the content-addressed store, hash-verified

138}
139
140pub fn validate_with_level_json_str(json: &str) -> Result<String, serde_json::Error> {
141 let ans = validate_with_level(serde_json::from_str(json)?);
142 serde_json::to_string(&ans)
143}
144
145pub fn validate_with_level(call: LevelValidationCall) -> ValidationAnswer {
146 match call.get_components() {

Callers 1

call_cedarFunction · 0.85

Calls 1

validate_with_levelFunction · 0.85

Tested by

no test coverage detected