json_shield 0.1.3
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.yamlto 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.verboseconsole-logging behavior.
0.1.0 #
Initial release.
guard.decode<T>— single JSON object decoding with shape guards and exception wrapping (cause,causeTrace, optionalcontextlabel).guard.decodeList<T>— full-traversal array decoding; every element failure is collected and thrown at once asDecodeListException.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.