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

built_value vs json_annotation

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

built_value and json_annotation draw close to even on daily downloads (562,946 vs 513,020 per day). json_annotation has the larger GitHub following (1,619 vs 885 stars).

built_value

🇺🇸 dart.dev · v8.13.0

Value types with builders, Dart classes as enums, and serialization. This library is the runtime dependency.

Downloads / day
562,946
Stars
885
Likes
784
Pub points
150

json_annotation

🇺🇸 google.dev · v4.12.0

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

Downloads / day
513,020
Stars
1,619
Likes
1,317
Pub points
150

Replies within ~2 days

built_value vs json_annotation, metric by metric

Metric built_value json_annotation
Downloads / day 562,946 513,020
Rank in Code Generation #1 #2
GitHub stars 885 1,619
Likes 784 1,317
Pub points 150 / 160 150 / 160
Issue response (median) — 0 days
Contributors 49 50
Last commit 2 months ago 23 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 11 years ago 9 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