json_annotation
Published by 🇺🇸google.dev · v4.12.0 · released 4 months ago · BSD-3-CLAUSE License
First published 8 years ago.
Classes and helper functions that support JSON code generation via the `json_serializable` package.
Part of google/json_serializable.dart (3 packages)
#2 in Code Generation #10 overall androidioswindowslinuxmacosweb
Downloads / day
421,383
as of 2026-09-13
GitHub stars
1,618
★ refreshed weekly
Likes
1,312
on pub.dev
Pub points
150 / 160
2026-08-14 2026-09-13
Repository health
Shared with 2 sibling packages in this repo.
- Last commit
- 1 month ago
- Issue response
- Maintainer replies within ~2 days (median over 10 closed issues)
- Commit activity
- Open issues
- 138
- Open PRs
- 15
- Contributors
- 49 (top contributor 91%)
- CI
- GitHub Actions
- License (repo)
Last refreshed 14 days ago.
How json_annotation compares in Code Generation
Top of the Code Generation leaderboard, with json_annotation highlighted.
| Rank | Package | Downloads / day | Stars | Likes |
|---|---|---|---|---|
| #1 | 🇺🇸 google.dev | 455.9K | ★ 885 | 781 |
| #2 | 🇺🇸 google.dev | 421.4K | ★ 1.6K | 1.3K |
| #3 | 🇺🇸 dart.dev | 399.8K | ★ 273 | 352 |
| #4 | 🇺🇸 dart.dev | 347.1K | ★ 272 | 15 |
| #5 | 🇺🇸 tools.dart.dev | 320.4K | ★ 113 | 297 |
Compare json_annotation with
Head-to-head breakdowns against the other top Code Generation packages.
