Skip to main content

project_json

Function project_json 

Source
pub fn project_json(
    input: &str,
    config: &ProjectionConfig,
) -> Result<ProjectionResult>
Expand description

Apply schema-aware projection to a JSON string.

Returns the projected JSON and stats, or the original string unchanged if it’s not valid JSON or projection doesn’t help.