Skip to main content

compact

Function compact 

Source
pub fn compact(
    registry: &Registry,
    expanded: &Value,
    context: &Value,
) -> Result<Processed, Error>
Expand description

Compact an expanded document against context.

context is a @context value — an IRI the registry knows, a term map, or an array of those.