json_class_generator 0.0.1 copy "json_class_generator: ^0.0.1" to clipboard
json_class_generator: ^0.0.1 copied to clipboard

Generates classes from json strings.

This package can be used to generate dart classes from a JSON string. It might be handy for large JSON with multiple entities you'd like to capture in a class.

Features #

The package will create additional classes for every Map<String, dynamic> entry

Getting started #

Use json_generator_annotations package to annotate your JSON String with @JsonClass. Add this package (json_generator) as a dev_dependency Then use dart run build_runner build

Usage #

After the classes have been generated, you can freely modify them, such as make fields nullable etc.

0
likes
110
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Generates classes from json strings.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, build, flutter, json_class_generator_annotations, source_gen

More

Packages that depend on json_class_generator