Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecbor

A Dart library for RFC8949‑compliant CBOR encoding and decoding.

pub.devRemove
json5

Lightweight library for encoding and decoding JSON5 with comments and trailing commas.

pub.devRemove
ScoresHealth89 (best)50
Maintenance91 (best)1
Quality100 (best)96
Popularity75 (best)49
Community80 (best)52
Compatibility100100
UsageDownloads (30 days)325k (best)13k
Likes41 (best)20
Pub points160 / 160 (best)150 / 160
GitHub stars47 (best)13
MaintenanceLatest release6.5.2, 3 weeks ago (best)0.8.2, 3 years ago
Major versions in 12 months00
Contributors10 (best)3
Publisherdarticulate.comdamphat.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies60 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • RFC8949 compliant
  • Streaming support and indefinite length handling
  • Rich type system with tags and rational numbers
  • Supports comments and trailing commas which standard JSON lacks
  • Works across all major platforms including Flutter web and native
Weaknesses
  • No code‑gen integration
  • Limited to CBOR – not a general-purpose serializer
  • Only serializes classes which implement List and Map
  • Port of a JavaScript library which might differ slightly from idiomatic Dart conventions
WarningsNoneNone
cbor vs json5: which Flutter package should you use? | pubscout