1 // This file was automatically generated from builtin-classes.md by Knit tool. Do not edit. 2 package example.exampleBuiltin10 3 4 import kotlinx.serialization.* 5 import kotlinx.serialization.json.* 6 7 @Serializable 8 class Project(val name: String) 9 mainnull10fun main() { 11 val map = mapOf( 12 1 to Project("kotlinx.serialization"), 13 2 to Project("kotlinx.coroutines") 14 ) 15 println(Json.encodeToString(map)) 16 } 17