I wrote a really cursed snippet of code that allow...
# serialization
j
I wrote a really cursed snippet of code that allows you to get or copy/set individual fields by index on any struct with generated serializer. It's within an order of magnitude of performance to direct gets and copies, at least within my test case. Anybody interested in a copy? I'm using it to write conditions/modifications for a database system based on KotlinX serialization.