Skip to main content

parse_subscription_with_options

Function parse_subscription_with_options 

Source
pub fn parse_subscription_with_options(
    content: &str,
    options: &ParseOptions,
) -> Result<ParseReport>
Expand description

Parse a subscription using an explicit input and decoded-document size limit.

This has the same format and error behavior as parse_subscription, with a caller-selected limit instead of the default 4 MiB. YAML also retains the parser’s structural limits on nesting and alias expansion.