quicktype's first birthday, Python support, 'continuous mode' for VS Code, and a brand new product: autotune.
quicktype turns one!
quicktype celebrated its first birthday on July 12th. In its first year, quicktype has generated over one billion lines of code, supports 18 languages, and has over 150 contributors. Read the full anniversary post.
🐍 Python Support
The most requested language is finally here! quicktype now generates Python 3.6+ type-annotated dataclasses:
@dataclass
class User:
name: str
email: str
age: int
friends: List["User"]
Python support includes:
- Type annotations (PEP 484)
- Dataclasses (PEP 557)
- Optional type checking with mypy
- JSON serialization helpers
⚡ Continuous Mode for VS Code
The VS Code extension now supports "continuous mode"—as you type JSON, the generated code updates in real-time in a split view. It's like having the quicktype web app inside your editor!
Enable it with:
- Open a JSON file
- Run "quicktype: Open Preview to Side"
- Edit your JSON and watch the code update live
🎛 Introducing autotune
We're launching a new product: autotune. autotune analyzes your existing code and recommends quicktype settings that match your codebase's style.
Feed it a few of your existing model classes, and autotune will configure quicktype to generate code that looks like you wrote it yourself.
Coming Soon
- Dart support
- Improved error messages
- Performance improvements for huge schemas