json_serializable.dart
json_serializable.dart copied to clipboard
Generates utilities to aid in serializing to/from JSON.
Provides Dart Build System builders for handling JSON.
json_serializable ![Pub Package](https://img.shields.io/pub/v/json_serializable.svg)
- 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.
json_annotation ![Pub Package](https://img.shields.io/pub/v/json_annotation.svg)
- Package: https://pub.dev/packages/json_annotation
- Source code
The annotation package which has no dependencies.
Import it into your pubspec dependencies:
section.
checked_yaml ![Pub Package](https://img.shields.io/pub/v/checked_yaml.svg)
- 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.
example
- Source code
An example showing how to set up and use json_serializable
and
json_annotation
.