Alternatives to json2ts
Other tools in this directory that do similar work, with a verified install command for each. json2ts itself: install json2ts.
generate-json-schema
🧞 Convert JSON Objects to MySQL, JSON Schema, Mongoose, Google BigQuery, Swagger, and more
typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output
ncc
Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires
zsh-autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion
cloudformation-guard
Guard offers a policy-as-code domain-specific language (DSL) to write rules and validate JSON- and YAML-formatted data such as CloudFormation Template
deno
A modern runtime for JavaScript and TypeScript
sonic
🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM
pyright
Static Type Checker for Python
npm-check-updates
Find newer versions of package dependencies than what your package.json allows
miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
lefthook
Fast and powerful Git hooks manager for any type of projects
magic_enum
Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
autorest
OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
jet
Type safe SQL builder with code generation and automatic query result data mapping
sbjson
This framework implements a strict JSON parser and generator in Objective-C
hl
A fast and powerful log viewer and processor that converts JSON logs or logfmt logs into a clear human-readable format
typeshare
Typeshare is the ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI
entityx
EntityX - A fast, type-safe C++ Entity-Component system
dyff
/ˈdʏf/ - diff tool for YAML files, and sometimes JSON
reshape
An easy-to-use, zero-downtime schema migration tool for Postgres
beads_viewer
Graph-aware TUI for the Beads issue tracker: PageRank, critical path, kanban, dependency DAG visualization, and robot-mode JSON API
postgresql-hll
PostgreSQL extension adding HyperLogLog data structures as a native data type
sherif
Opinionated, zero-config linter for TypeScript & JavaScript monorepos
counterfeiter
A tool for generating self-contained, type-safe test doubles in go
How we picked these
We match on what the tool does and how it installs, then order by how widely each project is used. We're not saying these are better or worse than json2ts — that depends on what you're building. We're saying they're the projects people reach for in the same situations, and each one has an install command we checked against its documentation.
json2ts is developed by its own authors and this page is an independent reference; we are not affiliated with or sponsored by any project listed, and nothing here is a paid placement.