Minify small structured datasets
is-dataset-minifyClean or minify JSON/JSONL/CSV data, max 4096 input characters. Use to compact small JSON, JSONL or CSV samples without discarding meaningful fields. For ordinary JSON validity checks, use is-json-safe. Transformation tool, not a boolean validator. Returns an optimized dataset representation; may normalize formatting, so inspect output before production use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Source dataset text (maximum 4096 characters). | |
| format | No | Parsing format: auto detects, or explicitly select json, jsonl or csv. |