json2model 1.1.0
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 discontinuedpedantic/effective_dartwithlints - 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 forfromJson/toJson - Fix:
doublefields accept integer JSON values (e.g.10) instead of throwing a type error