Open Eiffelyk opened 2 years ago
@Eiffelyk Hello, the plugin can't know how to convert your demo JSON into camel case as your demo JSON without any split character. if you using the next JSON, I think it will work
{ "whats_app": "whatsapp:+0806", "link_loan": "www32.142.175", "lin_loan_test": "ni-v4.117.234.851" }
Thank you, I get it,I misunderstood this function
I uninstalled and restored the plugin, using all the default Settings. Check the camel Case switch in the Settings is enable, which is on by default. The annotation format is also Gson by default. Generate the Bean without changing anything, and find that the properties in the Bean are still the same as the keys in json, without being converted to the camel Case format.
I use the 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 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.0 Memory: 2048M Cores: 16
Non-Bundled Plugins: wu.seal.tool.jsontokotlin (3.7.4) com.jaeger.findviewbyme (1.4.3) ink.organics.pojo2json (1.2.5) com.intellij.ideolog (203.0.30.0) com.robohorse.robopojogenerator (2.3.8) com.github.copilot (1.1.35.2063) Dart (213.7433) cn.yiiguxing.plugin.translate (3.3.5) io.flutter (71.0.3) com.jetbrains.kmm (0.3.4(213-1.7.11-357-IJ)-241)
my jsonFile like this
{ "whatsapp": "whatsapp:+0806", "linkloan": "www32.142.175", "linloantest": "ni-v4.117.234.851" }