json_to_dart 1.0.0 copy "json_to_dart: ^1.0.0" to clipboard
json_to_dart: ^1.0.0 copied to clipboard

outdated

A library that generates Dart classes (parse and generator included) from a json string.

JSON to Dart #

Build Status

Given a JSON string, this library will generate all the necesary Dart classes to parse and generate JSON.

This library is designed to generate Flutter friendly model classes following the flutter's doc recommendation.

Caveats #

  • When an empty array is given, it will create a List
  • Equal structures are not detected yet (Equal classes are going to be created over and over).
  • Properties named with funky names (like "!breaks", "|breaks", etc) or keyword (like "this", "break", "class", etc) will produce syntax errors.
5
likes
0
pub points
41%
popularity

Publisher

unverified uploader

A library that generates Dart classes (parse and generator included) from a json string.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, dart_style, json_ast

More

Packages that depend on json_to_dart