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

SDKDart
outdated

Automatically create Dart classes that match the structure of your JSON files.

example/example.dart

import 'package:json_annotation/json_annotation.dart';
import 'package:inferno/annotations.dart';

part 'example.inferno.dart';
part 'example.g.dart';

@InferFromJSONFile(file: "person.json")
typedef Person = InferredPerson;

@InferFromJSONFile(file: "item.json")
typedef Item = InferredItem;
6
likes
130
points
22
downloads

Publisher

verified publisherstvari.si

Weekly Downloads

Automatically create Dart classes that match the structure of your JSON files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, collection, json_annotation, json_serializable, source_gen

More

Packages that depend on inferno