Provides Dart Build System builders for handling JSON.
- Package: https://pub.dev/packages/json_serializable
- Source code
The core package providing Generators for JSON-specific tasks.
Import it into your pubspec dev_dependencies:
section.
- Package: https://pub.dev/packages/json_annotation
- Source code
The annotation package which has no dependencies.
Import it into your pubspec dependencies:
section.
- Package: https://pub.dev/packages/checked_yaml
- Source code
Generate more helpful exceptions when decoding YAML documents using
package:json_serializable
and package:yaml
.
Import it into your pubspec dependencies:
section.
An example showing how to set up and use json_serializable
and
json_annotation
.