json2dart 1.0.0 json2dart: ^1.0.0 copied to clipboard
Generate Dart classes from JSON.
json2dart #
Generate Dart classes from JSON. Also supports package:owl_codegen
, and allows you to specify a custom class name.
This package works well for implementing API clients, and will be used in package:twit
.
$ pub global activate json2dart
$ json2dart foo.json >> foo.dart
$ json2dart foo.json --owl -c Foo >> foo.dart
Coming soon: Web-based generator