json2class 0.0.12 copy "json2class: ^0.0.12" to clipboard
json2class: ^0.0.12 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());
}
2
likes
0
points
249
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to generate class objects from JSON or JSON5, supporting serialization and deserialization.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path

More

Packages that depend on json2class