Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejson5

Lightweight library for encoding and decoding JSON5 with comments and trailing commas.

pub.devRemove
pem

PEM encoding and decoding of textual keys and certificates following RFC 7468.

pub.devRemove
ScoresHealth5078 (best)
Maintenance160 (best)
Quality96100 (best)
Popularity4966 (best)
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)13k134k (best)
Likes2024 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars13512 (best)
MaintenanceLatest release0.8.2, 3 years ago2.0.6, a year ago (best)
Major versions in 12 months00
Contributors330 (best)
Publisherdamphat.comgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Supports comments and trailing commas which standard JSON lacks
  • Works across all major platforms including Flutter web and native
  • Supports both lax and strict decoding modes
  • Handles certificate chains with concatenated PEM blocks
  • Follows RFC 7468 specifications
Weaknesses
  • Only serializes classes which implement List and Map
  • Port of a JavaScript library which might differ slightly from idiomatic Dart conventions
  • Decoding methods ignore surrounding text, meaning malformed PEM blocks do not throw specific exceptions
WarningsNone
  • Quiet but busy
json5 vs pem: which Flutter package should you use? | pubscout