Community
Participate
Working Groups
Add support for unmarshalling from a JsonParser. For this we should a JsonParserSource that implements javax.xml.transform.Source. This new source will then be able to be used with the following unmarshal methods Unmarshaller.unmarshal(Source) Unmarshaller.unmarshal(Source, Class) This input should be added to our high level JSON test so that all the use cases are covered.
We must be sure to test use cases where the JsonParser is at the beginning of the document and cases where we unmarshal from the middle of the document. Below is an example of the concept using StAX with MOXy's XML-binding: - http://blog.bdoughan.com/2012/08/handle-middle-of-xml-document-with-jaxb.html
Created attachment 248781 [details] Proposed patch Initial implementation
Created attachment 248948 [details] Reviewed patch
pushed http://git.eclipse.org/c/eclipselink/eclipselink.runtime.git/commit/?id=aeaaca3fff7a9999b94c6cd408e31e20723b29ef
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink