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.9x the daily downloads of plugin_platform_interface (327,998 vs 176,827 per day). plugin_platform_interface has the larger GitHub following (5,197 vs 1,609 stars).

json_annotation

🇺🇸 google.dev · v4.11.0

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

Downloads / day
327,998
Stars
1,609
Likes
1,302
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
176,827
Stars
5,197
Likes
128
Pub points
150

json_annotation vs plugin_platform_interface, metric by metric

Metric json_annotation plugin_platform_interface
Downloads / day 327,998 176,827
Rank in Code Generation #2 #7
GitHub stars 1,609 5,197
Likes 1,302 128
Pub points 150 / 160 150 / 160
Issue response (median) 1 days
Contributors 47 98
Last commit 1 month ago 1 month 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