rrva
02/27/2018, 3:39 PMPerson to NewPerson and want to assert that the conversion is correct. I could either have input data for my tests written in JSON or Kotlin. To generate the kotlin variant of this, I could take a JSON representation of the object instance I have as input, deserialize it into an object instance, and then use something similar as pprint from python which outputs the object in a format which can be passed back into the kotlin compiler.