Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejson_repair_flutter

Repairs malformed JSON strings such as those returned by LLMs or unstable APIs

pub.devRemove
json_schema

Validate JSON data against JSON Schema drafts in Dart.

pub.devRemove
ScoresHealth4663 (best)
Maintenance1017 (best)
Quality89 (best)80
Popularity2075 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)1k213k (best)
Likes1345 (best)
Pub points135 / 160 (best)115 / 160
GitHub stars344 (best)
MaintenanceLatest release2.0.2, a year ago5.2.2, a year ago (best)
Major versions in 12 months00
Contributors157 (best)
Publisheronecrest.ioworkiva.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies1 (best)5
LicenseMITUNKNOWN
Setup effortLowLow
JudgementStrengths
  • Forgiving parser handles missing braces, commas, quotes, and comments
  • Extracts JSON objects from surrounding conversational text
  • Provides optional diagnostic logging for repair actions
  • Supports Draft 7, 2019‑09, 2020‑12
  • Asynchronous $ref resolution and URL/file loading
  • No code generation required
Weaknesses
  • Reparing heavily corrupted data can occasionally result in unexpected structure
  • Not a replacement for proper schema validation
  • Adds runtime overhead for validation
  • Limited to validation – no schema‑based code generation
WarningsNoneNone
json_repair_flutter vs json_schema: which Flutter package should you use? | pubscout