parse_json 2.2.3 copy "parse_json: ^2.2.3" to clipboard
parse_json: ^2.2.3 copied to clipboard

Type safe and simple JSON deserialization for Dart with no code generation or reflection.

Changelog #

2.2.3 #

Added toString overrides to all errors to make them easier to debug.

2.2.2 #

Improved error handling, documentation, and made the parser use dynamic instead of Map<String, dynamic> for the JSON object.

2.2.1 #

Changed types for ListProperty.function and MapProperty.function to make this usable as parsers on their own.

2.2.0 #

Added support for default values using .withDefault

2.1.3 #

Improved documentation

2.1.2 #

Improved API reference by privating some internal methods and classes

2.1.1 #

Fixed documentation

2.1.0 #

  • Added support for parsing enums
  • Improved error handling

2.0.1 #

Fixed documentation mistake

2.0.0 #

  • Removed need for registering types
  • Only parsing what you need from the JSON rather than passing the whole JSON object into a constructor and parsing it there

1.0.1 #

Improved documentation

1.0.0 #

Initial version

7
likes
160
points
5
downloads

Publisher

verified publisherjohn-siegel.com

Weekly Downloads

Type safe and simple JSON deserialization for Dart with no code generation or reflection.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

equatable

More

Packages that depend on parse_json