Class DefaultYassonObjectMapperFactory

java.lang.Object
io.restassured.common.mapper.factory.DefaultYassonObjectMapperFactory
All Implemented Interfaces:
JsonbObjectMapperFactory, ObjectMapperFactory<jakarta.json.bind.Jsonb>

public class DefaultYassonObjectMapperFactory extends Object implements JsonbObjectMapperFactory
  • Constructor Details

    • DefaultYassonObjectMapperFactory

      public DefaultYassonObjectMapperFactory()
  • Method Details

    • create

      public jakarta.json.bind.Jsonb create(Type cls, String charset)
      Description copied from interface: ObjectMapperFactory
      Create the object mapper instance.
      Specified by:
      create in interface ObjectMapperFactory<jakarta.json.bind.Jsonb>
      Parameters:
      cls - The type of the class to serialize or de-serialize
      charset - The charset
      Returns:
      An object mapper instance