Inference rules
Nested objects become named interfaces (T1, T2…), arrays take the first item's type, null fields are marked optional.
Frequently asked questions
Mixed-type arrays?
Only the first element is sampled.
Empty arrays?
Emit unknown[] — tighten manually.
Date strings?
Kept as string; wrap in a date type yourself.