We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
KotlinX.Serializable
1 parent 5ff2283 commit 4ac2ec8Copy full SHA for 4ac2ec8
src/main/kotlin/wu/seal/jsontokotlin/model/IConfigManager.kt
@@ -86,9 +86,12 @@ interface IConfigManager {
86
var targetJsonConverterLib: TargetJsonConverter
87
get() = if (isTestModel) TestConfig.targetJsonConvertLib else {
88
val value = PropertiesComponent.getInstance().getValue(TARGET_JSON_CONVERTER_LIB_KEY)
89
+ //Next step try to keep compatible with 3.5.1 and before version of plugin,
90
+ //Please see : https://github.com/wuseal/JsonToKotlinClass/issues/284
91
+ val compatibleValue = if (value =="Serilizable") "Serializable" else value
92
try {
93
TargetJsonConverter.valueOf(
- value
94
+ compatibleValue
95
?: TargetJsonConverter.None.name
96
)
97
} catch (e: Exception) {
0 commit comments