public class ObjectMapping extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
ObjectMapping() |
Modifier and Type | Method and Description |
---|---|
static <T> Object |
deserialize(ResponseBodyData response,
Type cls,
String contentType,
String defaultContentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig objectMapperConfig) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
static Object |
parseWithJackson1(ObjectMapperDeserializationContext ctx,
io.restassured.path.json.mapper.factory.Jackson1ObjectMapperFactory factory) |
static Object |
parseWithJackson2(ObjectMapperDeserializationContext ctx,
io.restassured.path.json.mapper.factory.Jackson2ObjectMapperFactory factory) |
static Object |
parseWithJohnzon(ObjectMapperDeserializationContext ctx,
io.restassured.path.json.mapper.factory.JohnzonObjectMapperFactory factory) |
static String |
serialize(Object object,
String contentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig config,
EncoderConfig encoderConfig) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public static <T> Object deserialize(ResponseBodyData response, Type cls, String contentType, String defaultContentType, String charset, ObjectMapperType mapperType, ObjectMapperConfig objectMapperConfig)
public static String serialize(Object object, String contentType, String charset, ObjectMapperType mapperType, ObjectMapperConfig config, EncoderConfig encoderConfig)
public static Object parseWithJackson1(ObjectMapperDeserializationContext ctx, io.restassured.path.json.mapper.factory.Jackson1ObjectMapperFactory factory)
public static Object parseWithJackson2(ObjectMapperDeserializationContext ctx, io.restassured.path.json.mapper.factory.Jackson2ObjectMapperFactory factory)
public static Object parseWithJohnzon(ObjectMapperDeserializationContext ctx, io.restassured.path.json.mapper.factory.JohnzonObjectMapperFactory factory)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.