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
yaml

A Dart library for parsing YAML documents into Dart data structures.

pub.devRemove
ScoresHealth6692 (best)
Maintenance6886 (best)
Quality75100 (best)
Popularity2096 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)3.1k21M (best)
Likes6296 (best)
Pub points145 / 160160 / 160 (best)
GitHub stars466 (best)123
MaintenanceLatest release7.0.0, 6 months ago3.1.4, 3 months ago (best)
Major versions in 12 months10 (best)
Contributors32100+ (best)
Publishertheconduit.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)3
LicenseBSD-2-CLAUSEMIT
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.
  • Pure Dart implementation, no native dependencies
  • Supports error recovery with custom listeners
  • Maintained by dart-lang with regular updates
  • Compatible with all platforms (web, mobile, desktop)
Weaknesses
  • Requires manual implementation of encode and decode methods for every class.
  • Minimum Dart SDK requirement is relatively strict (>=3.12.0).
  • No YAML dumping support
  • Limited to parsing, not editing or serializing
  • Some edge cases (self-referential collections) still throw exceptions
WarningsNoneNone
conduit_codable vs yaml: which Flutter package should you use? | pubscout