json2class 0.0.14
json2class: ^0.0.14 copied to clipboard
A CLI tool to generate class objects from JSON or JSON5, supporting serialization and deserialization.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add json2class
With Flutter:
$ flutter pub add json2class
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
json2class: ^0.0.14
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.