Change Log
[3.7.5] (2024-09-12)
Bugfix
- Fix #431: Properties named ālistā result in empty names of classes #432 (@ark-1)
- Support nullable array elements #429
- Fix #425: Similar classes get incorrectly deduplicated #433 (@ark-1)
- Fixed negative numbers could not be converted to Long #410 (@AppleSa)
Enhancement
- Feature: Base Class Support #419 (@AZKZero)
- Release library version: 3.7.4 #402 (@wuseal)
- jcenter will be deprecated #350
- Migrate jsontokotlin library from JCenter to MavenCentral #398 (@wuseal)
3.7.4 (2022-05-22)
Bugfix
- Write-access exception #308
- Nullable Types and Non Nullable Default Value Strategy #391
- Repeating classes instead of making a relation between them! #381
Enhancement
- auto determine nullable or not from json value optional null values #307
- Does not detect nullable objects in some cases #379
- Merging data classes of the same structure #390
- Option to handle classes with same name #375
3.7.3 (2022-04-16)
Bugfix
- (3.7.2)Throwable: Assertion failed: Write access is allowed inside write-action only #380
- ē¹ę®åē¬¦ę„é #383
- Fix Write access error when format json paste json/obtain json from net #378 (@wuseal)
- Long values being generated as Int #295
Enhancement
- optimize code builder & bugfix: when enable [Replace constructor parameters by member variables], the annotation not go to next line. #373 (@Nstd)
3.7.2 (2021-07-31)
Bugfix
- Assertion failed: Write access is allowed inside write-action only #367
- Text config always loss in Adavnced --> Extension Tab #371 (@wuseal)
- š fix JsonSchema type error when refer to non-object definitions #368 (@TedZen)
- Exception in JsonToKotlin 3.6.1 - AGP 4.1.2 #320
Enhancement
- Optimize Extensionsā UI #370 (@wuseal)
- Update icon and project title picture for JsonToKotlinClass #363
Features
3.7.1 (2021-06-30)
Bugfix
- Crash Report : java.lang.IndexOutOfBoundsException: Empty list doesnāt contain element at index 0. #353
- Crash Report: java.lang.IllegalStateException: properties used kotlin classes size should be equal referenced classes size! #354
- Strange crash (RuntimeException) #357
Features
- Add internal modifier option(ę°å¢internalåÆč§ę§é锹) #347
- Custom None nullable type in generated Kotlin data class #358
- Add buildFromJson function into data class to build data class object from JSONObject #348
3.7.0 (2021-05-18)
Bugfix
- Field value in Double format generates Int instead #334
- Handling already escaped quotes \ā with āForce init Default Value With Origin Json Valueā checked #301
- Not escaping kotlin keywords #290
- Conflicting declarations #297
- Latest plugin (3.6.0) throws IllegalArgument exception. #284
Enhancement
- Add an option to switch autodetect JSONSchema #223
- Generated Parcelable data class uses deprecated annotation from package android.parcel #335
- Host library in jCenter #298
- Create a demo project for `JsonToKotlinClass` Library usage #268
- Release version 3.6.1 of the library #321
Features
- Support no parameter constructor #291
- class prefix support #322
- provide a switch case for sending analytics #296
V3.6.1 (2020-03-25)
Bugfix
- Wrong generation of data class #269
- Generated model not matching JSON #241
- java.lang.IllegalStateException: Canāt generate Kotlin Data Class from a no JSON Object #243
Enhancement
- JsonSchema doesnāt generate class #222
Features
V3.6.0 (2020-03-19)
Bugfix
Enhancement
- @keep äøęÆęandroidx #244
Features
- Library Support #258
V3.5.1 (2019-11-17)
Bugfix
- java.io.FileNotFoundException: /Users/apple/Library/Caches/.jsontokotlin/actionInfo/1572435095855 (No such file or directory) #246
Features
- Respect dot as a word separator #249
- Making default values as values from Json with option to disable #84
V3.5.0 (2019-09-04)
Bugfix
- a redundant comma appears after data class generated without sort by alphabet #225
- jsonēękotlinē±»åŗē°éčÆÆę ¼å¼ #224
- fix kotlin data class file generate action doesnāt works with interceā¦ #238 (@wuseal)
- fix an exception generate split class code with json: #236 (@wuseal)
- fix #224 #237 (@wuseal)
- PrefixSupport will go wrong if Property.name is empty #227
- name.first() went wrong in Property.getCode() #218
- ę“ę°v3.4.0åēØäøäŗ #215
Enhancement
- refactor JSON->Data Class Flow #233 (@wuseal)
- Add filter to Prefix and Suffix input panel #226
- Upgrade MakeKeywordNamedPropertyValidInterceptor to FinalKotlinDataClassWrapperInterceptor #219
Features
- [Feature Request]Add an option that force primitive type to be non-nullable into Extensions Tab #234
V3.4.1 (2019-08-05)
V3.4.0 (2019-07-31)
Bugfix
- java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #195
- The pattern of the property name needs to be checked #198
- The pattern of the new kt file name needs to be checked #197
- Generated Kotlin Data Class File Reference is Incorrect #193
- While Looking into the issue, I ran into another bug. Please check. #136
Enhancement
V3.3.0 (2019-06-30)
Bugfix
- The property generate by āAuto Determine Nullable Or Not From JSON Valueā is NotNullableļ¼While I expect a Nullable propertyć #170
- the property type is not what i expect when some json property value is JsonNull. #173
- Generated code is broken based on json. #176
Enhancement
- Encrypting the data when reporting problematic JSON string? #142
- Add an option for `kotlinx.serialization` #131
- Please change the current code style to mine. Since the current is very terrible to read ā¦. #169
Features
- [Feature Request]Suffix appending behind of all class name #165
- Add An Extension to add @Keep annotation to generated classes #146
- [Feature request]Generate Kotlin Data class init with default value = null when itās property is nullable #152
v3.2.0 (2019-04-26)
V3.2.0 (2019-04-26)
v3.2.0-EAP (2019-04-22)
Bugfix
- wu.seal.jsontokotlin.UnSupportJsonException: Unsupported Json String #122
- File Already Exists #123
- Json Format change the value of Json Content #130
- Kotlin Data Class donāt generated as expected #121
- [Bug] Incorrect properties orders #119
- java.lang.IllegalStateException: Not a JSON Array: #87
- java.util.NoSuchElementException: Char sequence is empty. #114
Enhancement
- Change Action tip #135
- Folder .jsontokotlin in $HOME #139
- refactored āsettingsā to āadvancedā in Pop Up Dialog #127 (@SuuSoJeat)
- Fix typo in README.md #129 (@codeteo)
- Wrong background color with Darcula theme #109
V3.0.1 (2019-03-03)
Bugfix
- java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 #89
- please test this data -> repetition ->class #82
- āImport statementsā go after class declaration #83
- JSON converstion not works as expected #90
Features
- JSON input from file #76