This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 411373 - JSON-P - Unmarshal from javax.json.JsonStructure
Summary: JSON-P - Unmarshal from javax.json.JsonStructure
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 405161
  Show dependency tree
 
Reported: 2013-06-21 10:18 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Proposed changes (41.07 KB, patch)
2013-06-25 11:34 EDT, Denise Smith CLA
no flags Details | Diff
Proposed changes (41.38 KB, patch)
2013-06-25 13:47 EDT, Denise Smith CLA
no flags Details | Diff
Proposed changes (41.36 KB, patch)
2013-06-25 14:13 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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