json2class 0.0.14 copy "json2class: ^0.0.14" to clipboard
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());
}
2
likes
140
points
180
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

ISC (license)

Dependencies

path

More

Packages that depend on json2class