typed_json_getters 0.0.1 copy "typed_json_getters: ^0.0.1" to clipboard
typed_json_getters: ^0.0.1 copied to clipboard

A Dart library providing type-safe getters for JSON maps with robust error handling.

Typed JSON Getters #

A Dart library providing type-safe getters for JSON maps (Map<String, dynamic>) with robust error handling and support for nested keys using dot notation.

Features #

  • Type-Safe Access: Retrieve values with explicit types.
  • Default Values: Provide default values when keys are missing.
  • Error Handling: Throws FormatException when type conversion fails.
  • Nested Key Support: Access nested JSON properties using dot notation.

Installation #

Add typed_json_getters to your pubspec.yaml:

dependencies:
  typed_json_getters: ^1.0.0
1
likes
150
pub points
0%
popularity

Publisher

verified publisherristocloudgroup.com

A Dart library providing type-safe getters for JSON maps with robust error handling.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on typed_json_getters