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
json_sorter

Command-line tool and encoder that sorts JSON maps by key.

pub.devRemove
ScoresHealth63 (best)43
Maintenance17 (best)0
Quality8091 (best)
Popularity75 (best)17
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)213k (best)1.6k
Likes45 (best)8
Pub points115 / 160140 / 160 (best)
GitHub stars44 (best)6
MaintenanceLatest release5.2.2, a year ago (best)1.0.0, 6 years ago
Major versions in 12 months00
Contributors57 (best)1
Publisherworkiva.comdartside.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies51 (best)
LicenseUNKNOWNBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports Draft 7, 2019‑09, 2020‑12
  • Asynchronous $ref resolution and URL/file loading
  • No code generation required
  • Zero dependencies beyond args.
  • Simple CLI and encoder API.
  • Supports custom indentation.
  • Works with Dart SDK 2.12+ and all platforms.
Weaknesses
  • Adds runtime overhead for validation
  • Limited to validation – no schema‑based code generation
  • Only sorts map keys; does not handle custom object serialization.
  • No support for sorting lists or other data structures.
  • Limited to JSON; not a general-purpose data transformer.
WarningsNoneNone
json_schema vs json_sorter: which Flutter package should you use? | pubscout