Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 411373

Summary: JSON-P - Unmarshal from javax.json.JsonStructure
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 405161    
Attachments:
Description Flags
Proposed changes
none
Proposed changes
none
Proposed changes none

Description Blaise Doughan CLA 2013-06-21 10:18:28 EDT
Add support for unmarshalling from a JsonStructure (both JsonArray and JsonObject).  For this we should a JsonStructureSource 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.
Comment 1 Denise Smith CLA 2013-06-25 11:34:29 EDT
Created attachment 232743 [details]
Proposed changes
Comment 2 Denise Smith CLA 2013-06-25 13:47:44 EDT
Created attachment 232746 [details]
Proposed changes
Comment 3 Denise Smith CLA 2013-06-25 14:13:19 EDT
Created attachment 232749 [details]
Proposed changes
Comment 4 Denise Smith CLA 2013-06-28 15:56:54 EDT
Checked in initial support.  Added new class org.eclipse.persistence.oxm.json.JsonStructureSource to make use of this.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:15:49 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:22:06 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink