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.5x the daily downloads of plugin_platform_interface (482,231 vs 314,752 per day). plugin_platform_interface has the larger GitHub following (5,311 vs 1,619 stars).

json_annotation

🇺🇸 google.dev · v4.12.0

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

Downloads / day
482,231
Stars
1,619
Likes
1,313
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
314,752
Stars
5,311
Likes
132
Pub points
150

json_annotation vs plugin_platform_interface, metric by metric

Metric json_annotation plugin_platform_interface
Downloads / day 482,231 314,752
Rank in Code Generation #2 #7
GitHub stars 1,619 5,311
Likes 1,313 132
Pub points 150 / 160 150 / 160
Issue response (median) 0 days —
Contributors 49 98
Last commit 1 month ago 23 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 9 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