Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecanonical_json

Encoder and decoder for canonical JSON format useful for cryptographic hashing and signing.

pub.devRemove
json_schema

Validate JSON data against JSON Schema drafts in Dart.

pub.devRemove
ScoresHealth72 (best)63
Maintenance51 (best)17
Quality100 (best)80
Popularity4975 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)49k213k (best)
Likes1145 (best)
Pub points160 / 160 (best)115 / 160
GitHub stars512 (best)44
MaintenanceLatest release1.1.3, 9 months ago (best)5.2.2, a year ago
Major versions in 12 months00
Contributors3057 (best)
Publishergoogle.devworkiva.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)5
LicenseAPACHE-2.0UNKNOWN
Setup effortLowLow
JudgementStrengths
  • Ensures deterministic JSON output for cryptographic use cases
  • Validates strict canonical JSON rules during decoding
  • Supports Draft 7, 2019‑09, 2020‑12
  • Asynchronous $ref resolution and URL/file loading
  • No code generation required
Weaknesses
  • Does not support floating-point numbers
  • Requires strings to be in Unicode Normalization Form C
  • Adds runtime overhead for validation
  • Limited to validation – no schema‑based code generation
WarningsNoneNone
canonical_json vs json_schema: which Flutter package should you use? | pubscout