Skip to main content

json2model 1.1.0 copy "json2model: ^1.1.0" to clipboard
json2model: ^1.1.0 copied to clipboard

This library generates a model object corresponding to a JSON string by executing commands in code.

1.0.0 #

  • init project, This library generates a model object corresponding to a JSON string by executing commands in code

1.0.1 #

  • update LICENSE

1.0.2 #

  • Null safety is supported

1.1.0 #

  • Support Dart 3: SDK constraint changed to ^3.0.0, replace discontinued pedantic / effective_dart with lints
  • Fix: JSON keys that are not valid Dart identifiers (e.g. user-name, class, 1st, _id, it's) now generate compilable fields, the original key is kept for fromJson / toJson
  • Fix: double fields accept integer JSON values (e.g. 10) instead of throwing a type error
6
likes
0
points
597
downloads

Publisher

verified publishervenshine.cn

Weekly Downloads

This library generates a model object corresponding to a JSON string by executing commands in code.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args

More

Packages that depend on json2model