cucumber-jvm-scala icon indicating copy to clipboard operation
cucumber-jvm-scala copied to clipboard

Alternatives to JacksonDefaultDataTableEntryTransformer

Open gaeljw opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. Jackson Scala module has some flaws and using it with the JacksonDefaultDataTableEntryTransformer to automatically map datatables does not always work.

For instance issues with Options: https://github.com/FasterXML/jackson-module-scala/issues/459

Describe the solution you'd like It could be nice to propose other alternatives to Jackson, more Scala friendly.

A first alternative with support for basic case classes would be enough for a start IMHO.

This means we "just" need to build a case class instance given a Map[String, String] of values and a Java Type reference.

Describe alternatives you've considered N/A

Additional context N/A

gaeljw avatar Jun 22 '21 15:06 gaeljw

@gaeljw this doc might be a better description of the issue than the 459 issue you list above - https://github.com/FasterXML/jackson-module-scala/wiki/FAQ

pjfanning avatar Sep 21 '21 19:09 pjfanning