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 (411,313 vs 230,473 per day). plugin_platform_interface has the larger GitHub following (5,272 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
411,313
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
230,473
Stars
5,272
Likes
132
Pub points
150

json_annotation vs plugin_platform_interface, metric by metric

Metric json_annotation plugin_platform_interface
Downloads / day 411,313 230,473
Rank in Code Generation #2 #7
GitHub stars 1,616 5,272
Likes 1,311 132
Pub points 150 / 160 150 / 160
Issue response (median) 0 days
Contributors 49 98
Last commit 19 days ago 15 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