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

Function json_validate_entities

CedarJavaFFI/src/interface.rs:487–490  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

485}
486
487pub fn json_validate_entities(input: &str) -> serde_json::Result<String> {
488 let ans = validate_entities(input)?;
489 serde_json::to_string(&ans)
490}
491
492/// public string-based JSON interface to be invoked by FFIs. Takes in a `ValidateEntityCall` and (if successful)
493/// returns unit value () which is null value when serialized to json.

Callers 1

call_cedarFunction · 0.85

Calls 1

validate_entitiesFunction · 0.85

Tested by

no test coverage detected