rea-agents
    Preparing search index...

    Function inferJsonShape

    • Parse approved JSON and immediately discard values after iterative shape inference.

      Parameters

      Returns
          | {
              max_depth_observed: number;
              node_count: number;
              properties: {
                  observations: number;
                  path: string;
                  types: ("string" | "number" | "boolean" | "object" | "null" | "array")[];
              }[];
              root_type: "string"
              | "number"
              | "boolean"
              | "object"
              | "null"
              | "array";
              truncated: boolean;
          }
          | null