Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejson_schema

Validate JSON data against JSON Schema drafts in Dart.

pub.devRemove
shrink

Compresses data to 5x‑40x smaller size with lossless restoration

pub.devRemove
ScoresHealth63 (best)49
Maintenance18 (best)7
Quality80100 (best)
Popularity75 (best)24
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)213k (best)195
Likes45 (best)31
Pub points115 / 160160 / 160 (best)
GitHub stars44 (best)7
MaintenanceLatest release5.2.2, a year ago (best)1.5.12, a year ago
Major versions in 12 months00
Contributors57 (best)2
Publisherworkiva.comjozz.biz
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies51 (best)
LicenseUNKNOWNMIT
Setup effortLowLow
JudgementStrengths
  • Supports Draft 7, 2019‑09, 2020‑12
  • Asynchronous $ref resolution and URL/file loading
  • No code generation required
  • Zero‑setup, one‑line API
  • Lossless and fully backward compatible
  • Automatic method selection and performance optimizations
Weaknesses
  • Adds runtime overhead for validation
  • Limited to validation – no schema‑based code generation
  • Adds a byte if data is compressed twice
  • Not effective on truly random data
WarningsNoneNone
json_schema vs shrink: which Flutter package should you use? | pubscout