json_format
Pretty-print or minify JSON. Specify indent level (default 2) or set minify=true to compact JSON into a single line.
json_validate
Validate a JSON string. Returns valid=true with type info on success, or valid=false with line, column, error message, and a suggestion for fixing common mistakes.
json_diff
Compare two JSON values and return a structured diff showing added paths, removed paths, and changed values. Supports nested objects and arrays.
json_query
Query JSON data using JSONPath-like syntax. Supports: root ($), dot notation ($.a.b), bracket notation ($["key"]), array index ($[0]), wildcard (*), deep scan (..), slice ([1:3]), filter ([?(@.age>18)]), and union ([0,1]).
json_transform
Transform JSON data. Operations: "flatten" (nested→flat with dot keys), "unflatten" (flat→nested), "pick" (keep only specified keys), "omit" (remove specified keys), "rename" (rename keys via a map). Use options.deep=true for recursive key operations.
json_schema_generate
Generate a JSON Schema (draft-07 compatible) from a sample JSON object. Infers types, required fields, formats (date-time, email, uri, uuid), and nested structure. Ideal for API documentation or validation setup.