JsonToKotlinClass icon indicating copy to clipboard operation
JsonToKotlinClass copied to clipboard

🚀 Plugin for Android Studio And IntelliJ Idea to generate Kotlin data class code from JSON text ( Json to Kotlin )

Results 57 JsonToKotlinClass issues
Sort by recently updated
recently updated
newest added

Plz, update your cert https://jsontokotlin.sealwu.com/

``` wu.seal.jsontokotlin.GenerateKotlinFileAction.actionPerformed(GenerateKotlinFileAction.kt:61) [58300ms] wu.seal.jsontokotlin.GenerateKotlinFileAction.doGenerateKotlinDataClassFileAction(GenerateKotlinFileAction.kt:93) [58300ms] + wu.seal.jsontokotlin.utils.KotlinClassFileGenerator.generateSingleKotlinClassFile(KotlinClassFileGenerator.kt:22) [46600ms] + [email protected]/java.lang.StringBuilder.toString(StringBuilder.java:453) [24100ms] [email protected]/java.lang.StringLatin1.newString(StringLatin1.java:769) [24100ms] [email protected]/java.util.Arrays.copyOfRange(Arrays.java:3822) [22900ms] + [email protected]/java.lang.StringBuilder.append(StringBuilder.java:179) [21900ms] [email protected]/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:582) [21900ms] [email protected]/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:228) [21900ms] [email protected]/java.util.Arrays.copyOf(Arrays.java:3537) [21900ms] + wu.seal.jsontokotlin.model.classscodestruct.DataClass.rename(DataClass.kt:36) [600ms] wu.seal.jsontokotlin.model.classscodestruct.DataClass.copy$default(DataClass.kt) [600ms] wu.seal.jsontokotlin.model.classscodestruct.DataClass.copy(DataClass.kt)...

I have below response. I know this is bad but sometimes we need to use this as requirements. With current update this extension can not make model for this but...

![image](https://github.com/user-attachments/assets/16d01bb6-28b2-4d82-be4c-22ce768b5a33) ![image](https://github.com/user-attachments/assets/e8d7c472-8ec7-4895-9471-b3e7ebdf6916) ![image](https://github.com/user-attachments/assets/8934a03a-7cae-4900-a9fc-c0e5c22a1bed) ![image](https://github.com/user-attachments/assets/8e715b9f-59a6-4df6-acff-93a519ba67de) ![image](https://github.com/user-attachments/assets/bb7d7351-68c2-4a27-b489-b9a2e12db384) ![image](https://github.com/user-attachments/assets/4325eabd-a995-4494-9791-e3dacc4d61d4) ![image](https://github.com/user-attachments/assets/abed7209-a0d1-41ff-b209-e96448971ac6) ![image](https://github.com/user-attachments/assets/66341e25-6730-436d-8b0a-6e3160408a31) ![image](https://github.com/user-attachments/assets/483e35fe-160f-4a83-90f4-b9357e0defa7)

Hello! We use this plugin to generate models during tests automation, and sometimes the goal is to input an object into code from json that manual tester has already created...

Can't find how to generate classes inside a single file. For example ``` { "bars": [ { "barz": "string" } ] } ``` would create this file: ``` data class...

Hi!, if my Json contains an array in a field , this plugin convert the field to List, can I select an option that convert this list to a independent...