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

Bug 351587

Summary: JSON Marshal - nillable/null support
Product: z_Archived Reporter: Denise Smith <denise.mahar>
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 7   
Whiteboard:
Attachments:
Description Flags
Proposed changes
none
Proposed test changes
none
Proposed changes
none
Proposed test changes
none
Updates for null and empty lists none

Description Denise Smith CLA 2011-07-08 11:02:06 EDT
When marshaling if the Marshal setting on nullpolicy is absent node we don't write to JSON.  If it is Nil we should write "null" and if it is set to empty we should write "address":{} for a complex thing an "null" for a simple thing.
Comment 1 Denise Smith CLA 2011-07-19 10:54:48 EDT
Created attachment 199907 [details]
Proposed changes
Comment 2 Denise Smith CLA 2011-07-19 10:55:05 EDT
Created attachment 199908 [details]
Proposed test changes
Comment 3 Denise Smith CLA 2011-07-21 10:39:22 EDT
Created attachment 200093 [details]
Proposed changes
Comment 4 Denise Smith CLA 2011-07-21 10:39:43 EDT
Created attachment 200094 [details]
Proposed test changes
Comment 5 Denise Smith CLA 2012-02-14 13:56:09 EST
Created attachment 210999 [details]
Updates for null and empty lists
Comment 6 Denise Smith CLA 2012-02-23 11:55:47 EST
Checked in as attached.
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:27:48 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink