Skip to content

JSON & CSV Transforms

Kestrel normalizes nested JSON documents into flat tabular rows using dot-path selectors.

Flattening Nested Objects

kestrel flatten \
  --input ./snapshots/catalog.json \
  --fields id,meta.category,pricing.usd \
  --output ./out/catalog.csv

Type Coercion Rules

  • Empty strings in numeric columns map to null when strict_schema = false.
  • Booleans accept true/false, 1/0, and yes/no during CSV ingestion.
  • Dates without timezone offsets are rejected unless --assume-utc is explicitly passed.