@@ -129,7 +129,30 @@ fun main(args: Array<String>) {
129129 TestConfig .isPropertiesVar = true
130130 TestConfig .isPropertyNullable = false
131131
132- println (" ===========================================Change to none json lib support========================================= " )
132+ println (" ===========================================Change to Jackson json lib support========================================= " )
133+
134+ println (" json1 ====>\n ${KotlinMaker (" Class1" , json1).makeKotlinData()} " )
135+ println (" json2 ====>\n ${KotlinMaker (" Class2" , json2).makeKotlinData()} " )
136+
137+
138+ TestConfig .targetJsonConvertLib = TargetJsonConverter .FastJson
139+ TestConfig .isCommentOff = true
140+ TestConfig .isPropertiesVar = true
141+ TestConfig .isPropertyNullable = false
142+
143+ println (" ===========================================Change to FastJson json lib support========================================= " )
144+
145+ println (" json1 ====>\n ${KotlinMaker (" Class1" , json1).makeKotlinData()} " )
146+ println (" json2 ====>\n ${KotlinMaker (" Class2" , json2).makeKotlinData()} " )
147+
148+
149+
150+ TestConfig .targetJsonConvertLib = TargetJsonConverter .Gson
151+ TestConfig .isCommentOff = false
152+ TestConfig .isPropertiesVar = false
153+ TestConfig .isPropertyNullable = true
154+
155+ println (" ===========================================Change to Gson json lib support========================================= " )
133156
134157 println (" json1 ====>\n ${KotlinMaker (" Class1" , json1).makeKotlinData()} " )
135158 println (" json2 ====>\n ${KotlinMaker (" Class2" , json2).makeKotlinData()} " )
0 commit comments