json2class 0.0.7
json2class: ^0.0.7 copied to clipboard
A CLI tool to generate class objects from JSON or JSON5, supporting serialization and deserialization.
example/main.dart
import 'json2class.dart';
main() {
final t = test();
t.fromJson({"a": 1, "b": "aaa", "c": "false"});
print(t.toJson());
}