-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 7.2
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Automation
-
Tags:
-
Story Points:5
An automation operation that return a custom type object will have this object serialized using the DefaultJsonAdapter.
When Writers (core-io marshaller) are available for the returned type they should be used instead.
The code that choose the DefaultJsonMarshaller or core-io marshaller is done in automation-server:
org.nuxeo.ecm.automation.server.jaxrs.ResponseHelper#getResponse(java.lang.Object, javax.servlet.http.HttpServletRequest, int)
Note that for an operation that returns a DocumentModel the core-io marshallers is used.
- is related to
-
NXP-18368 Upgrade to Jersey 2.x
- Open