json2class 0.0.14
json2class: ^0.0.14 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());
}