Greg Steckman
10/09/2021, 6:51 PMBig Chungus
10/09/2021, 6:53 PMGreg Steckman
10/09/2021, 6:53 PMGreg Steckman
10/09/2021, 6:54 PMGreg Steckman
10/09/2021, 6:54 PMGreg Steckman
10/09/2021, 6:55 PMBig Chungus
10/09/2021, 6:55 PMGreg Steckman
10/09/2021, 6:56 PMBig Chungus
10/09/2021, 6:56 PMGreg Steckman
10/09/2021, 6:57 PMGreg Steckman
10/09/2021, 6:58 PMBig Chungus
10/09/2021, 6:59 PMGreg Steckman
10/09/2021, 7:00 PMGreg Steckman
10/09/2021, 7:01 PMBig Chungus
10/09/2021, 7:02 PMBig Chungus
10/09/2021, 7:02 PMGreg Steckman
10/09/2021, 7:03 PMBig Chungus
10/09/2021, 7:04 PMBig Chungus
10/09/2021, 7:04 PMGreg Steckman
10/09/2021, 7:04 PMBig Chungus
10/09/2021, 7:05 PMephemient
10/09/2021, 7:44 PMinline fun <reified T> StringFormat.encodeToString
looks up the serializer by name - this JVM-only helper does involve some reflection - while fun <T> StringFormat.encodeToString
uses the serializer you pass in. I can imagine the former not working on GraalVM but the latter should be fine in all environments as everything is referenced staticallyBig Chungus
10/09/2021, 7:47 PMGreg Steckman
10/10/2021, 4:40 PMBig Chungus
10/10/2021, 4:41 PMGreg Steckman
10/10/2021, 4:43 PM{
"name":"Project",
"fields":[{"name":"Companion"}]
},
{
"name":"Project$Companion",
"methods":[{"name":"serializer","parameterTypes":[] }]
}
Greg Steckman
10/10/2021, 4:43 PMGreg Steckman
10/10/2021, 4:44 PMBig Chungus
10/10/2021, 4:44 PMBig Chungus
10/10/2021, 4:44 PMBig Chungus
10/10/2021, 4:45 PMGreg Steckman
10/10/2021, 4:45 PMGreg Steckman
10/10/2021, 4:45 PMBig Chungus
10/10/2021, 4:46 PMBig Chungus
10/10/2021, 4:48 PMBig Chungus
10/10/2021, 4:49 PMephemient
10/15/2021, 11:48 PM