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

ffi vs json_annotation

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

ffi and json_annotation draw close to even on daily downloads (516,895 vs 520,363 per day). json_annotation has the larger GitHub following (1,619 vs 277 stars).

ffi

🇺🇸 dart.dev · v2.2.0

Utilities for working with Foreign Function Interface (FFI) code.

Downloads / day
516,895
Stars
277
Likes
354
Pub points
160

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
520,363
Stars
1,619
Likes
1,317
Pub points
150

Replies within ~2 days

ffi vs json_annotation, metric by metric

Metric ffi json_annotation
Downloads / day 516,895 520,363
Rank in Code Generation #3 #2
GitHub stars 277 1,619
Likes 354 1,317
Pub points 160 / 160 150 / 160
Issue response (median) 1 days 0 days
Contributors 99 50
Last commit 25 days ago 21 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-Clause
First published 7 years ago 9 years ago
Platforms android, ios, windows, linux, macos 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