1*57b5a4a6SAndroid Build Coastguard Worker // This file was automatically generated from basic-serialization.md by Knit tool. Do not edit. 2*57b5a4a6SAndroid Build Coastguard Worker package example.exampleClasses11 3*57b5a4a6SAndroid Build Coastguard Worker 4*57b5a4a6SAndroid Build Coastguard Worker import kotlinx.serialization.* 5*57b5a4a6SAndroid Build Coastguard Worker import kotlinx.serialization.json.* 6*57b5a4a6SAndroid Build Coastguard Worker 7*57b5a4a6SAndroid Build Coastguard Worker @Serializable 8*57b5a4a6SAndroid Build Coastguard Worker class Project(val name: String, val renamedTo: String? = null) 9*57b5a4a6SAndroid Build Coastguard Worker mainnull10*57b5a4a6SAndroid Build Coastguard Workerfun main() { 11*57b5a4a6SAndroid Build Coastguard Worker val data = Project("kotlinx.serialization") 12*57b5a4a6SAndroid Build Coastguard Worker println(Json.encodeToString(data)) 13*57b5a4a6SAndroid Build Coastguard Worker } 14