Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeg_json

Convenient JSON access and manipulation with optional getters and setters

pub.devRemove
shrink

Compresses data to 5x‑40x smaller size with lossless restoration

pub.devRemove
ScoresHealth4649 (best)
Maintenance27 (best)
Quality96100 (best)
Popularity2324 (best)
Community4146 (best)
Compatibility100100
UsageDownloads (30 days)1.2k (best)195
Likes1431 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars67 (best)
MaintenanceLatest release4.1.1, 2 years ago1.5.12, a year ago (best)
Major versions in 12 months00
Contributors12 (best)
Publisherfaraday.icujozz.biz
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Easy syntax for nested access
  • Optional getters that avoid exceptions
  • Supports setting values and pretty printing
  • No build_runner or code generation required
  • Zero‑setup, one‑line API
  • Lossless and fully backward compatible
  • Automatic method selection and performance optimizations
Weaknesses
  • No compile-time type safety
  • Limited to dynamic JSON structures
  • Not suitable for complex data modeling
  • Adds a byte if data is compressed twice
  • Not effective on truly random data
WarningsNoneNone
g_json vs shrink: which Flutter package should you use? | pubscout