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
carp_serializable

Polymorphic JSON (de)serialization using json_serializable with type info.

pub.devRemove
ScoresHealth88 (best)83
Maintenance6496 (best)
Quality96 (best)93
Popularity97 (best)43
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)18M (best)264k
Likes784 (best)4
Pub points150 / 160150 / 160
GitHub stars884 (best)84
MaintenanceLatest release8.13.0, 3 months ago3.0.2, 5 days ago (best)
Major versions in 12 months0 (best)1
Contributors50 (best)19
Publisherdart.devcarp.dk
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies42 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Adds polymorphic support with minimal extra code
  • Re-exports uuid for convenient ID generation
  • Integrates with existing json_serializable workflow
  • Provides graceful fallback for unknown types
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 build_runner and code generation
  • Adds extra registration step at startup
  • Limited to json_serializable ecosystem
  • No support for other serialization formats
WarningsNoneNone
built_value vs carp_serializable: which Flutter package should you use? | pubscout