Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350485 - Object-JSON - Marshalling for Core Mappings
Summary: Object-JSON - Marshalling for Core Mappings
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 350483
  Show dependency tree
 
Reported: 2011-06-27 14:41 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (47.93 KB, patch)
2011-06-27 14:46 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (1.92 KB, patch)
2011-06-27 14:47 EDT, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (47.36 KB, patch)
2011-06-28 15:51 EDT, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (47.36 KB, patch)
2011-06-28 16:03 EDT, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (47.13 KB, patch)
2011-06-29 15:51 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Test Cases (31.03 KB, patch)
2011-06-29 15:51 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Test Cases (35.98 KB, patch)
2011-06-29 15:53 EDT, Blaise Doughan 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 2011-06-27 14:41:28 EDT
This bug will cover support for marshalling the following mappings to JSON:

- XMLDirectMapping
- XMLCompositeDirectCollectionMapping
- XMLCompositeObjectMapping
- XMLCompositeCollectionMapping
Comment 1 Blaise Doughan CLA 2011-06-27 14:46:14 EDT
Created attachment 198674 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2011-06-27 14:47:05 EDT
Created attachment 198675 [details]
MOXy - Fix
Comment 3 Blaise Doughan CLA 2011-06-28 15:51:30 EDT
Created attachment 198773 [details]
Core - Fix
Comment 4 Blaise Doughan CLA 2011-06-28 16:03:59 EDT
Created attachment 198775 [details]
Core - Fix
Comment 5 Blaise Doughan CLA 2011-06-29 15:51:24 EDT
Created attachment 198858 [details]
Core - Fix
Comment 6 Blaise Doughan CLA 2011-06-29 15:51:52 EDT
Created attachment 198859 [details]
MOXy - Test Cases
Comment 7 Blaise Doughan CLA 2011-06-29 15:53:21 EDT
Created attachment 198860 [details]
MOXy - Test Cases
Comment 8 Blaise Doughan CLA 2011-06-30 10:19:18 EDT
Fix checked into trunk at rev:  9648

Code reviewed by:  Denise Smith

Fix Description:
- Added three new methods to MarshalRecord: startCollection, endCollection, includeRootElementForSubsequentItemsInCollection
- Introduced 2 new records: JSONWriterRecord, JSONFormattedWriterRecord
- Updated XMLCompositeCollectionMappingNodeValue & XMLCompositeDirectCollectionMappingNodeValue to leverage the new methods on MarshalRecord
- Added a new enum MediaType to represent the supported media types in MOXy
- Updated OXM and JAXB Marshallers/Unmarshallers to use the new record types based on the specified media type.
Comment 9 Blaise Doughan CLA 2011-06-30 15:54:37 EDT
Resolved as above.
Comment 10 Eclipse Webmaster CLA 2022-06-09 10:33:15 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink