Class ComplexPropertyJSONEncoder
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.util.ComplexPropertyJSONEncoder
-
public class ComplexPropertyJSONEncoder extends Object
Helper to handle marshalling of complex types into a JSON-encoded string.- Since:
- 7.1
-
-
Constructor Summary
Constructors Constructor Description ComplexPropertyJSONEncoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encode(ComplexProperty cp)
static String
encode(ComplexProperty cp, DateTimeFormat dateTimeFormat)
-
-
-
Method Detail
-
encode
public static String encode(ComplexProperty cp) throws IOException
- Throws:
IOException
-
encode
public static String encode(ComplexProperty cp, DateTimeFormat dateTimeFormat) throws IOException
- Throws:
IOException
-
-