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