Class DefaultJohnzonObjectMapperFactory
java.lang.Object
io.restassured.common.mapper.factory.DefaultJohnzonObjectMapperFactory
- All Implemented Interfaces:
JohnzonObjectMapperFactory,ObjectMapperFactory<org.apache.johnzon.mapper.Mapper>
Simply creates a new Mapper instance.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultJohnzonObjectMapperFactory
public DefaultJohnzonObjectMapperFactory()
-
-
Method Details
-
create
Description copied from interface:ObjectMapperFactoryCreate the object mapper instance.- Specified by:
createin interfaceObjectMapperFactory<org.apache.johnzon.mapper.Mapper>- Parameters:
cls- The type of the class to serialize or de-serializecharset- The charset- Returns:
- An object mapper instance
-