Sponsored by- The #1 Flutter-powered AI app builder
Home/Top/Code Generation/code_builder vs json_annotation

code_builder vs json_annotation

A head-to-head of two Code Generation packages on pub.dev, by daily downloads, GitHub activity, and maintenance.

json_annotation edges code_builder on usage, roughly 49% more daily downloads (389,289 vs 261,195 per day). json_annotation answers issues faster, a median first reply of 0 vs 4 days.

code_builder

🇺🇸 tools.dart.dev · v4.11.1

A fluent, builder-based library for generating valid Dart code.

Downloads / day
261,195
Stars
112
Likes
296
Pub points
160

Replies within ~1 week

json_annotation

🇺🇸 google.dev · v4.12.0

Classes and helper functions that support JSON code generation via the `json_serializable` package.

Downloads / day
389,289
Stars
1,616
Likes
1,311
Pub points
150

Replies within ~2 days

code_builder vs json_annotation, metric by metric

Metric code_builder json_annotation
Downloads / day 261,195 389,289
Rank in Code Generation #5 #2
GitHub stars 112 1,616
Likes 296 1,311
Pub points 160 / 160 150 / 160
Issue response (median) 4 days 0 days
Contributors 99 49
Last commit 7 days ago 4 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 9 years ago 8 years ago
Platforms android, ios, windows, linux, macos, web android, ios, windows, linux, macos, web

Highlighted cell wins each comparable metric. For rank, issue response, and last commit, lower is better.

More Code Generation comparisons