json2model 1.1.4
json2model: ^1.1.4 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
1.1.1 #
- Remove the IDE file
json2model.imland the outdatedcmd.shfrom the published package
1.1.2 #
- Add a Chinese README (
README-CN.md), linked fromREADME.md - Use
repositoryandissue_trackerinpubspec.yamlinstead ofhomepage
1.1.3 #
- Add API documentation for
run,parseand the library - Follow Dart naming conventions in internal code; no API changes
1.1.4 #
- Add a Flutter web playground (
sample/), live at https://venshine.github.io/json2model/ - README: add the playground demo GIF, screenshots and credits
- Keep
sample/andscreenshot/out of the published package; no library changes