Skip to content
Generates utilities to aid in serializing to/from JSON.
Dart Shell
Branch: master
Clone or download
kevmoo Update min SDK for checked_yaml to 2.6 (#592)
Align all packages. Decrease CI time
Latest commit acbba78 Jan 17, 2020

README.md

Build Status

Provides source_gen Generators to create code for JSON serialization and deserialization.

json_serializable

The core package providing Generators for JSON-specific tasks.

Import it into your pubspec dev_dependencies: section.

json_annotation

The annotation package which has no dependencies.

Import it into your pubspec dependencies: section.

checked_yaml

Generate more helpful exceptions when decoding YAML documents using package:json_serializable and package:yaml.

Import it into your pubspec dependencies: section.

example

An example showing how to setup and use json_serializable and json_annotation.

You can’t perform that action at this time.