Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejson_annotation

Provides annotations for json_serializable to generate JSON (de)serialization code.

pub.devRemove
message_pack_dart

Binary MessagePack serializer/deserializer for Dart and Flutter.

pub.devRemove
ScoresHealth84 (best)48
Maintenance70 (best)0
Quality8191 (best)
Popularity97 (best)46
Community80 (best)34
Compatibility100100
UsageDownloads (30 days)16M (best)108k
Likes1.3k (best)5
Pub points150 / 160 (best)140 / 160
GitHub stars1.6k (best)2
MaintenanceLatest release4.12.0, 6 months ago (best)2.0.1, 4 years ago
Major versions in 12 months00
Contributors51 (best)6
Publishergoogle.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Small, zero‑runtime‑overhead package.
  • Works with Dart 3 and newer SDKs.
  • Provides fine‑grained control via JsonKey options.
  • Very small payload size
  • Fast binary encoding/decoding
  • No external dependencies
Weaknesses
  • Requires a separate code‑gen step with build_runner and json_serializable.
  • Only useful when paired with a generator; on its own it does nothing.
  • Limited to MessagePack format only
  • No code‑gen for typed models
  • No built‑in schema validation
WarningsNoneNone
json_annotation vs message_pack_dart: which Flutter package should you use? | pubscout