Or something like mapping one object to another: ...
# announcements
a
Or something like mapping one object to another:
Copy code
@MapTo(B::class)
class A {

  @MapTo(property = B::b1, converter = ::a1tob1)
  val a1: String;
}
@jw: sure, but it’s more about syntax and verbosity, with Java you’ll need n classes written by hand to make that