Skip to main content

inspect_json_from_text

Function inspect_json_from_text 

Source
pub fn inspect_json_from_text(
    raw: &str,
    file_size: u64,
    sample_rows: usize,
) -> Result<InspectReport, McpError>
Expand description

Inspect a JSON / JSONL text string (already in memory) without reading from a file. Used by the inspect_file handler when json_extract_path has already extracted the relevant slice.

Public so crate::server can call it after extract_json_path.

§Errors