Class ComplexTypeJSONDecoder
java.lang.Object
org.nuxeo.ecm.automation.core.util.ComplexTypeJSONDecoder
Helper to handle Complex types decoding from a JSON encoded String entries of a property file
- Since:
- 5.5
- Author:
- Tiry ([email protected])
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
decode
(ComplexType ct, com.fasterxml.jackson.databind.node.ObjectNode jsonObject) static Object
decode
(ComplexType ct, String json) decodeList
(ListType lt, com.fasterxml.jackson.databind.node.ArrayNode jsonArray) decodeList
(ListType lt, String json) static Blob
getBlobFromJSON
(com.fasterxml.jackson.databind.node.ObjectNode jsonObject) static void
registerBlobDecoder
(JSONBlobDecoder blobDecoder)
-
Field Details
-
blobDecoders
-
-
Constructor Details
-
ComplexTypeJSONDecoder
public ComplexTypeJSONDecoder()
-
-
Method Details
-
registerBlobDecoder
-
decodeList
- Throws:
IOException
-
decodeList
-
decode
- Throws:
IOException
-
decode
public static Object decode(ComplexType ct, com.fasterxml.jackson.databind.node.ObjectNode jsonObject) -
getBlobFromJSON
-