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
cv

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

pub.devRemove
ScoresHealth7279 (best)
Maintenance5195 (best)
Quality100100
Popularity49 (best)43
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)49k (best)6.6k
Likes1120 (best)
Pub points160 / 160160 / 160
GitHub stars512 (best)7
MaintenanceLatest release1.1.3, 9 months ago1.1.15, 12 days ago (best)
Major versions in 12 months00
Contributors30 (best)2
Publishergoogle.devtekartik.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)4
LicenseAPACHE-2.0BSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Ensures deterministic JSON output for cryptographic use cases
  • Validates strict canonical JSON rules during decoding
  • No code generation required
  • Easy to register and use models
  • Handles null/unset values and type conversions
  • Supports nested models and collections
Weaknesses
  • Does not support floating-point numbers
  • Requires strings to be in Unicode Normalization Form C
  • Requires manual constructor registration
  • Models are mutable, which may not fit all architectures
  • No built‑in immutability or validation
WarningsNoneNone
canonical_json vs cv: which Flutter package should you use? | pubscout