Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecv

Helpers to convert Dart objects to/from Map and JSON without code generation.

pub.devRemove
json_schema

Validate JSON data against JSON Schema drafts in Dart.

pub.devRemove
ScoresHealth79 (best)63
Maintenance96 (best)18
Quality100 (best)80
Popularity4375 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)6.6k213k (best)
Likes2045 (best)
Pub points160 / 160 (best)115 / 160
GitHub stars744 (best)
MaintenanceLatest release1.1.15, 12 days ago (best)5.2.2, a year ago
Major versions in 12 months00
Contributors257 (best)
Publishertekartik.comworkiva.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies4 (best)5
LicenseBSD-2-CLAUSEUNKNOWN
Setup effortLowLow
JudgementStrengths
  • No code generation required
  • Easy to register and use models
  • Handles null/unset values and type conversions
  • Supports nested models and collections
  • Supports Draft 7, 2019‑09, 2020‑12
  • Asynchronous $ref resolution and URL/file loading
  • No code generation required
Weaknesses
  • Requires manual constructor registration
  • Models are mutable, which may not fit all architectures
  • No built‑in immutability or validation
  • Adds runtime overhead for validation
  • Limited to validation – no schema‑based code generation
WarningsNoneNone
cv vs json_schema: which Flutter package should you use? | pubscout