Skip to main content

decode_resource_description_graph_with_limit

Function decode_resource_description_graph_with_limit 

Source
pub fn decode_resource_description_graph_with_limit(
    network: &LinkNetwork,
    root: LinkId,
    node_limit: usize,
) -> Result<Value, String>
Expand description

Decode with a caller-selected positive structural node limit.

ยงErrors

Rejects nonpositive limits and graphs exceeding their declared bounds.