Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value

Immutable value types with builders, enum classes and JSON serialization for Dart.

pub.devRemove
json_serializable

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

pub.devRemove
ScoresHealth8894 (best)
Maintenance6491 (best)
Quality96100 (best)
Popularity97 (best)93
Community100100
Compatibility100 (best)85
UsageDownloads (30 days)18M (best)4.5M
Likes7844k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars8841.6k (best)
MaintenanceLatest release8.13.0, 3 months ago6.15.2, 4 weeks ago (best)
Major versions in 12 months00
Contributors5051 (best)
Publisherdart.devgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies4 (best)12
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Eliminates boilerplate for JSON parsing and serialization
  • Supports custom type converters, enums, and JSON Schema generation
Weaknesses
  • Requires build_runner and a generator dev dependency
  • Steeper learning curve compared to plain json_serializable
  • Adds extra build step to the CI pipeline
  • Requires running a code generator (build_runner) during development
  • Generated files add to your source tree and require regeneration on model changes
WarningsNoneNone
built_value vs json_serializable: which Flutter package should you use? | pubscout