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

Bug 350485

Summary: Object-JSON - Marshalling for Core Mappings
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 350483    
Attachments:
Description Flags
Core - Fix
none
MOXy - Fix
none
Core - Fix
none
Core - Fix
none
Core - Fix
none
MOXy - Test Cases
none
MOXy - Test Cases none

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