Class DefaultJohnzonObjectMapperFactory

java.lang.Object
io.restassured.common.mapper.factory.DefaultJohnzonObjectMapperFactory
All Implemented Interfaces:
JohnzonObjectMapperFactory, ObjectMapperFactory<org.apache.johnzon.mapper.Mapper>

public class DefaultJohnzonObjectMapperFactory extends Object implements JohnzonObjectMapperFactory
Simply creates a new Mapper instance.
  • Constructor Details

    • DefaultJohnzonObjectMapperFactory

      public DefaultJohnzonObjectMapperFactory()
  • Method Details

    • create

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