wearefrank / ladybug

Enable users of your application to debug and test it
Apache License 2.0
13 stars 8 forks source link

Make encoders to translate primitive values to strings and back #304

Open mhdirkse opened 1 month ago

mhdirkse commented 1 month ago

Presently, a checkpoint that has an object as value is encoded using the XMLEncoder. This looks awkward for primitive types and enums. These values are wrapped in an XML stating the Java version and the Java type.

We need encoders that show Booleans, enums etc as simple values. The encoders should also translate the String back to the object because of stubbing.