Create the Jackson ObjectMapper to be used.
Create the Jackson ObjectMapper to be used. Default is a simple ObjectMapper with DefaultScalaModule registered.
Define the string to be used as replacement for empty.
Define the string to be used as replacement for empty.
Default is [empty]
.
This trait register a
DefaultDataTableEntryTransformer
using JacksonObjectMapper
.The
[empty]
string is used as default empty string replacement. You can override it if you need to.Note: Jackson is not included with Cucumber Scala, you have to add the dependency:
com.fasterxml.jackson.module:jackson-module-scala_2.xx
to your project if you want to use this trait.