public class Jackson2Mapper extends Object implements ObjectMapper, groovy.lang.GroovyObject
| Constructor and Description |
|---|
Jackson2Mapper(io.restassured.path.json.mapper.factory.Jackson2ObjectMapperFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(ObjectMapperDeserializationContext context)
Deserialize a response to a Java object
|
groovy.lang.MetaClass |
getMetaClass() |
String |
serialize(ObjectMapperSerializationContext context)
Serialize a request to an object (String, InputStream or byte[]) that'll be used as the request body.
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
public Jackson2Mapper(io.restassured.path.json.mapper.factory.Jackson2ObjectMapperFactory factory)
public String serialize(ObjectMapperSerializationContext context)
ObjectMapperserialize in interface ObjectMappercontext - The details needed to convert the request from a Java object to a objectpublic Object deserialize(ObjectMapperDeserializationContext context)
ObjectMapperdeserialize in interface ObjectMappercontext - The details needed to convert the response to a Java objectpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectCopyright © 2010–2022. All rights reserved.