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
merging_builder

Merges multiple input files into a single output file during the build process.

pub.devRemove
ScoresHealth94 (best)70
Maintenance9192 (best)
Quality100 (best)97
Popularity93 (best)15
Community100 (best)46
Compatibility8585
UsageDownloads (30 days)4.5M (best)971
Likes4k (best)9
Pub points160 / 160160 / 160
GitHub stars1.6k (best)8
MaintenanceLatest release6.15.2, 5 weeks ago1.1.2, 2 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors51 (best)2
Publishergoogle.devsimphotonics.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies1210 (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
  • Integrates with build_runner and source_gen
  • Supports topological sorting to avoid dependency cycles
  • Customizable input/output via build.yaml
  • No runtime overhead – all work happens at build time
Weaknesses
  • Requires running a code generator (build_runner) during development
  • Generated files add to your source tree and require regeneration on model changes
  • Only works with Dart build system
  • Requires build_runner configuration
  • Limited to merging – not suitable for other code generation patterns
WarningsNoneNone
json_serializable vs merging_builder: which Flutter package should you use? | pubscout