Skip to main content

jsonic_processor

Function jsonic_processor 

Source
pub fn jsonic_processor(resolution: &mut Resolution, input: &ProcessorInput<'_>)
Expand description

Re-parse the source with the live engine, so a nested reference is resolved by the same plugin and every plugin installed beside it.

The metadata is threaded through, which is what makes a relative reference inside the source resolve against that source’s own directory. Mirrors the TypeScript jsonic processor’s tn.parse(res.src, ctx.meta).