Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejson_serializable

Automatically generate code for converting Dart classes to and from JSON.

pub.devRemove
protoc_plugin

Generates Dart source files from Protocol Buffer (.proto) definitions using the protoc compiler.

pub.devRemove
ScoresHealth94 (best)80
Maintenance91 (best)82
Quality100 (best)78
Popularity93 (best)73
Community100 (best)80
Compatibility8585
UsageDownloads (30 days)4.5M (best)314k
Likes4k (best)97
Pub points160 / 160 (best)150 / 160
GitHub stars1.6k (best)571
MaintenanceLatest release6.15.2, 4 weeks ago (best)25.1.0, 2 months ago
Major versions in 12 months0 (best)1
Contributors5168 (best)
Publishergoogle.devgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies126 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Eliminates boilerplate for JSON parsing and serialization
  • Supports custom type converters, enums, and JSON Schema generation
  • Produces clean, formatted Dart code
  • Integrates with standard protobuf workflow
  • Supports gRPC and Kythe metadata options
Weaknesses
  • Requires running a code generator (build_runner) during development
  • Generated files add to your source tree and require regeneration on model changes
  • Requires external protoc installation
  • Only works with protobuf package versions
WarningsNoneNone
json_serializable vs protoc_plugin: which Flutter package should you use? | pubscout