GsonFormatPlus
GsonFormatPlus copied to clipboard
GsonFormatPlus
macos安装后快捷键无法使用option+s唤醒插件,更换插件快捷键还是失败
插件目前使用的fastjson的1.x版本。但是现在最新的fastjson已经是fastjson2了。尝试使用自定义注解解决,但是无法使用。自定义注解配置如下: @com.alibaba.fastjson2.annotation.JSONField\s*\(\s*name\s*=\s*"{filed}"\s*\) @com.alibaba.fastjson2.annotation.JSONField(name=\"{filed}\") 这两种方式配置都无法实现将字符串转换为Java bean 对象,希望处理下,谢谢。
非常简单的JSON也不能正常处理 ``` {"age":30} ``` 界面上提示`data err!!` idea.log中报错信息如下 ``` 2022-07-28 15:43:05,157 [1162679] INFO - STDERR - java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "str" is null 2022-07-28 15:43:05,157 [1162679] INFO - STDERR...
发布的版本出现了 全大写的json 无法正确转化驼峰 仓库版本可用
 我想为name添加注释名称,如何在comment中填写呢,格式是什么
希望带注释
json 数据 k:v 键值对的 k 作为属性 v作为注释 /* * v */ private String k; 比如这样
能不能 提供一个选项,只生成getter不生成setter 因为大多数情况下生成的实体类,不需要setter
Add an option: `field (only getter)` I use key `"fieldOnlyGetterMode"` to save the option in `Config.java`
Android Studio Dolphin | 2021.3.1 Patch 1 Build #AI-213.7172.25.2113.9123335, built on September 30, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC:...