json_shield 0.1.3 copy "json_shield: ^0.1.3" to clipboard
json_shield: ^0.1.3 copied to clipboard

Dependency-free JSON decoding guard with shape checks, typed exceptions, aggregated list failures, and redacted payloads.

0.1.3 #

  • Chore: shorten package description in pubspec.yaml to meet pub.dev score requirements.

0.1.2 #

  • Add official GitHub repository and issue tracker links.
  • Add pub.dev topics (json, validation, parsing) for better discoverability.

0.1.1 #

  • Fix license copyright holder; remove the placeholder repository URL shipped in 0.1.0 (a real repository link returns in a future release).
  • Docs: align the usage snippet with guard.verbose console-logging behavior.

0.1.0 #

Initial release.

  • guard.decode<T> — single JSON object decoding with shape guards and exception wrapping (cause, causeTrace, optional context label).
  • guard.decodeList<T> — full-traversal array decoding; every element failure is collected and thrown at once as DecodeListException.
  • guard.verbose — opt-in diagnostics: raw payload attachment plus console logging of every failure at exception escape points; redacted and silent by default.
  • Zero dependencies, pure Dart.
4
likes
160
points
245
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dependency-free JSON decoding guard with shape checks, typed exceptions, aggregated list failures, and redacted payloads.

Repository (GitHub)
View/report issues

Topics

#json #validation #parsing

License

MIT (license)

More

Packages that depend on json_shield