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

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_to_dart

With Flutter:

 $ flutter pub add json_to_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  json_to_dart: ^1.0.5

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:json_to_dart/json_to_dart.dart';
5
likes
115
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Unlicense (license)

Dependencies

convert, dart_style, json_ast

More

Packages that depend on json_to_dart