Minify small structured datasets
optimize-datasetClean and compact JSON, JSONL or CSV rows. Use for small datasets; use is-json-safe to check JSON syntax without changes. Returns text in the selected format; trims strings, deduplicates rows and may drop mostly empty columns.
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. |