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
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth4683 (best)
Maintenance1088 (best)
Quality8996 (best)
Popularity2050 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)1k78k (best)
Likes13 (best)9
Pub points135 / 160150 / 160 (best)
GitHub stars3 (best)0
MaintenanceLatest release2.0.2, a year ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors19 (best)
Publisheronecrest.ioonepub.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseMITMIT
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
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Reparing heavily corrupted data can occasionally result in unexpected structure
  • Not a replacement for proper schema validation
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
json_repair_flutter vs validators2: which Flutter package should you use? | pubscout