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

dap vs json_annotation

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

json_annotation leads on usage with about 1.9x the daily downloads of dap (409,000 vs 216,433 per day). dap has the larger GitHub following (11,264 vs 1,618 stars).

dap

🇺🇸 tools.dart.dev · v1.4.0

A package of classes that are generated from the DAP specifications along with their generating code.

Downloads / day
216,433
Stars
11,264
Likes
4
Pub points
140

Replies within ~2 days

json_annotation

🇺🇸 google.dev · v4.12.0

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

Downloads / day
409,000
Stars
1,618
Likes
1,312
Pub points
150

Replies within ~2 days

dap vs json_annotation, metric by metric

Metric dap json_annotation
Downloads / day 216,433 409,000
Rank in Code Generation #8 #2
GitHub stars 11,264 1,618
Likes 4 1,312
Pub points 140 / 160 150 / 160
Issue response (median) 1 days 0 days
Contributors 99 49
Last commit 10 days ago 1 month ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 3 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