public class ComplexTypeJSONDecoder extends Object
Modifier and Type | Field and Description |
---|---|
protected static List<JSONBlobDecoder> |
blobDecoders |
Constructor and Description |
---|
ComplexTypeJSONDecoder() |
Modifier and Type | Method and Description |
---|---|
static Object |
decode(ComplexType ct,
org.codehaus.jackson.node.ObjectNode jsonObject) |
static Object |
decode(ComplexType ct,
String json) |
static List<Object> |
decodeList(ListType lt,
org.codehaus.jackson.node.ArrayNode jsonArray) |
static List<Object> |
decodeList(ListType lt,
String json) |
static Blob |
getBlobFromJSON(org.codehaus.jackson.node.ObjectNode jsonObject) |
static void |
registerBlobDecoder(JSONBlobDecoder blobDecoder) |
protected static List<JSONBlobDecoder> blobDecoders
public ComplexTypeJSONDecoder()
public static void registerBlobDecoder(JSONBlobDecoder blobDecoder)
public static List<Object> decodeList(ListType lt, String json) throws IOException
IOException
public static List<Object> decodeList(ListType lt, org.codehaus.jackson.node.ArrayNode jsonArray)
public static Object decode(ComplexType ct, String json) throws IOException
IOException
public static Object decode(ComplexType ct, org.codehaus.jackson.node.ObjectNode jsonObject)
public static Blob getBlobFromJSON(org.codehaus.jackson.node.ObjectNode jsonObject)
Copyright © 2017 Nuxeo. All rights reserved.