Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconduit_codable

A library for encoding and decoding dynamic structured data like JSON and YAML into Dart objects.

pub.devRemove
json_annotation

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

pub.devRemove
ScoresHealth6684 (best)
Maintenance6870 (best)
Quality7581 (best)
Popularity2097 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)3.1k16M (best)
Likes61.3k (best)
Pub points145 / 160150 / 160 (best)
GitHub stars4661.6k (best)
MaintenanceLatest release7.0.0, 6 months ago (best)4.12.0, 6 months ago
Major versions in 12 months10 (best)
Contributors3251 (best)
Publishertheconduit.devgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseBSD-2-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports decoding and encoding of nested custom objects, lists, and maps.
  • Handles document references ($ref) and cyclical data structures natively.
  • Provides built-in type coercion and casting support for primitive type arguments.
  • Small, zero‑runtime‑overhead package.
  • Works with Dart 3 and newer SDKs.
  • Provides fine‑grained control via JsonKey options.
Weaknesses
  • Requires manual implementation of encode and decode methods for every class.
  • Minimum Dart SDK requirement is relatively strict (>=3.12.0).
  • 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.
WarningsNoneNone
conduit_codable vs json_annotation: which Flutter package should you use? | pubscout