/** * JSON Content Handler * * Handles application/json content type. Recursively traverses all nodes in the JSON * object tree and applies the full injection pattern registry to every string value. * * What it handles: * - All string values in the JSON tree (any depth) * - Arrays, nested objects, and mixed-type arrays * - Falls back to plain text pipeline if JSON.parse fails * * What it strips: * - Nothing (preserves original structure) * * What it passes through: * - Sanitized JSON with original structure preserved * - All non-string values pass through unchanged */ import type { HandlerResult } from './types.js'; /** * Handle JSON content * * @param content - Raw JSON string * @param mimeType - Original MIME type * @returns Sanitized handler result */ export declare function handleJson(content: string | Buffer, mimeType: string): HandlerResult; //# sourceMappingURL=json-handler.d.ts.map