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
copied to clipboard

With Flutter:

 $ flutter pub add json_to_dart
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
5
likes
105
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

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

Repository (GitHub)

Documentation

API reference

License

Unlicense (license)

Dependencies

convert, dart_style, json_ast

More

Packages that depend on json_to_dart