# FlutterJsonBeanFactory **Repository Path**: ichaly/FlutterJsonBeanFactory ## Basic Information - **Project Name**: FlutterJsonBeanFactory - **Description**: https://github.com/ichaly/FlutterJsonBeanFactory.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-02 - **Last Updated**: 2021-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FlutterJsonBeanFactory Hi,Welcome to come to see me! What I do is generate dart beans based on json, as well as generics parameters and json build instances ### Easy Use ![image](https://github.com/zhangruiyu/FlutterJsonBeanFactory/blob/master/beantojson_factory.gif) ### Usage * Search 'FlutterJsonBeanFactory' in Intellij Idea Plugin Repositroy Or AndroidStudio Plugin Repository And Install it.
File --> Settings --> Plugins --> Browse Repositories -->Search FlutterJsonBean * Restart your Develop tools * Press shortcut key `alt ` + `j` for mac , right click on package -> `New`->`Dart bean clas file from JSON` And Then you will know how to use * If you change the fields in the class, just press the shortcut alt + j to regenerate the tojson and fromjson methods. The generated method regenerates all helper classes and JsonConvert classes (the same as the shortcut alt + j) each time an entity file is created in the generated/json directory. * If you need generic conversions in your network requests, use the jsonconvert.fromjsonast method directly. * If you don't want to use the FlutterJsonBeanFactory in your project, you can add flutter-json: enable: false to the pubspec.yaml file * If no helper files are generated, you can delete the .idea directory and restart your idea ![image](https://github.com/zhangruiyu/FlutterJsonBeanFactory/blob/master/filter_json_config.png) * 如果你有任何问题,添加QQGroup(963752388)随时提问 [中文移步](https://www.jianshu.com/p/14cbcbaa74b7) ### Others * Welcome anyone to raise new issue. * Welcome anyone to push a pull request to improve me. ### Thanks * Thank [@wuseal](https://github.com/wuseal/JsonToKotlinClass) * Thank [@javiercbk/](https://github.com/javiercbk/json_to_dart) ### Find me useful ? :heart: * Support me by clicking the :star: button on the upper right of this page. :v: * Spread to others to let more people have a better develope expierience :heart: