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

json_annotation vs plugin_platform_interface

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.8x the daily downloads of plugin_platform_interface (386,620 vs 215,759 per day). plugin_platform_interface has the larger GitHub following (5,262 vs 1,616 stars).

json_annotation

🇺🇸 google.dev · v4.12.0

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

Downloads / day
386,620
Stars
1,616
Likes
1,311
Pub points
150

Replies within ~2 days

plugin_platform_interface

🇺🇸 flutter.dev · v2.1.8

Reusable base class for platform interfaces of Flutter federated plugins, to help enforce best practices.

Downloads / day
215,759
Stars
5,262
Likes
131
Pub points
150

json_annotation vs plugin_platform_interface, metric by metric

Metric json_annotation plugin_platform_interface
Downloads / day 386,620 215,759
Rank in Code Generation #1 #7
GitHub stars 1,616 5,262
Likes 1,311 131
Pub points 150 / 160 150 / 160
Issue response (median) 0 days
Contributors 49 98
Last commit 3 days ago 22 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 8 years ago 6 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