Community
Participate
Working Groups
This bug will cover support for marshalling the following mappings to JSON: - XMLDirectMapping - XMLCompositeDirectCollectionMapping - XMLCompositeObjectMapping - XMLCompositeCollectionMapping
Created attachment 198674 [details] Core - Fix
Created attachment 198675 [details] MOXy - Fix
Created attachment 198773 [details] Core - Fix
Created attachment 198775 [details] Core - Fix
Created attachment 198858 [details] Core - Fix
Created attachment 198859 [details] MOXy - Test Cases
Created attachment 198860 [details] MOXy - Test Cases
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.
Resolved as above.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink