Why convert JSON to io-ts?
io-ts gives you runtime validation and static types from a single codec, but writing those codecs by hand for every endpoint is slow. Paste a JSON sample above and receive executable io-ts codecs immediately, with one const per object so the structure mirrors your data.
How it works
The tool parses your JSON in the browser and emits t.type({...}) codecs for each object it
discovers. Integers map to t.Int, floats to t.number, strings to t.string, and so on.
Nested codecs are declared children-first, and the required import * as t from "io-ts"; is
included, so you can drop the output straight into your project. No part of the process
touches a server.