If instead you wrote it on KClass you'd only need ...
# getting-started
g
If instead you wrote it on KClass you'd only need to do Entity::class.fromJson...