json2class 1.1.0
json2class: ^1.1.0 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 = example();
t.fromJson({
"test": {
"a": 100,
"b": "aaa",
"c": "false",
}
});
print(t.toJson());
}