public class JsonMarshalling extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonMarshalling.ThowrableTypeModifier |
static class |
JsonMarshalling.ThrowableDeserializer |
Modifier and Type | Method and Description |
---|---|
static void |
addMarshaller(JsonMarshaller<?> marshaller) |
static org.codehaus.jackson.JsonFactory |
getFactory() |
static <T> JsonMarshaller<T> |
getMarshaller(Class<T> clazz) |
static <T> JsonMarshaller<T> |
getMarshaller(String type) |
static org.codehaus.jackson.JsonFactory |
newJsonFactory() |
static Object |
readEntity(String content) |
static OperationRegistry |
readRegistry(String content) |
static void |
writeMap(org.codehaus.jackson.JsonGenerator jg,
Map<String,Object> map) |
static String |
writeRequest(OperationRequest req) |
public static org.codehaus.jackson.JsonFactory getFactory()
public static org.codehaus.jackson.JsonFactory newJsonFactory()
public static void addMarshaller(JsonMarshaller<?> marshaller)
public static <T> JsonMarshaller<T> getMarshaller(String type)
public static <T> JsonMarshaller<T> getMarshaller(Class<T> clazz)
public static OperationRegistry readRegistry(String content) throws IOException
IOException
public static Object readEntity(String content) throws IOException
IOException
public static String writeRequest(OperationRequest req) throws IOException
IOException
public static void writeMap(org.codehaus.jackson.JsonGenerator jg, Map<String,Object> map) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.