public class JsonObjectDeserializer extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
JsonObjectDeserializer() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
deserialize(String json,
Class<T> cls,
JsonPathConfig jsonPathConfig) |
static Object |
deserializeWithJackson1(ObjectDeserializationContext ctx,
Jackson1ObjectMapperFactory factory) |
static Object |
deserializeWithJackson2(ObjectDeserializationContext ctx,
Jackson2ObjectMapperFactory factory) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
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
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public static <T> T deserialize(String json, Class<T> cls, JsonPathConfig jsonPathConfig)
public static Object deserializeWithJackson1(ObjectDeserializationContext ctx, Jackson1ObjectMapperFactory factory)
public static Object deserializeWithJackson2(ObjectDeserializationContext ctx, Jackson2ObjectMapperFactory factory)
Copyright © 2010–2018. All rights reserved.