evestera/json_typegen
Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
Provides three complementary interfaces: a Rust procedural macro for compile-time type generation with serde integration, a CLI tool for standalone code generation, and a WebAssembly-based web UI. Uses shape inference algorithms inspired by F# Data to infer schemas from JSON samples, with support for customization like field defaults and type overrides per JSON path. Targets API integration workflows across polyglot teams, enabling type-safe deserialization without manual schema definition.
316 stars and 946 monthly downloads.
Stars
316
Forks
26
Language
Rust
License
Apache-2.0
Category
Last pushed
Nov 25, 2025
Monthly downloads
946
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/evestera/json_typegen"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
seaofvoices/darklua
A command line tool that transforms Lua code
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)