/IntelliJ-Json2json_serializable

🎉Convert json for the json_serializable of flutter/dart.为 flutter/dart 的 json_serializable 转换 json。

🎉 An IntelliJ plugin converts json for dart json_serializable .

Download

json2json-serializable

How to use

  1. Open the *.dart file
  2. Click menu -> code -> JsonToDartClass.
  3. Input json and click the ok button.
  4. open Terminal(Windows is CMD) and enter:flutter pub run build_runner build
  5. Finished.

Hot key

Open the plugin:

  • macOS:Command + option + N
  • Windows: Control + alt + N

Confirm:

  • macOS:Command + Enter
  • Windows: Control + Enter

Feedback

If you have any questions or bugs, you can use issues feedback. Thank you for your contribution to this project.

This project is not yet ready for open source, but we will open source after feature stable.