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

Bug 351119

Summary: JSON marshal - handle string vs. non-string values and attributes
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:
Bug Depends on:    
Bug Blocks: 350483    
Attachments:
Description Flags
Test cases
none
Test cases
none
Code changes for string/non string support and attributes
none
Code changes none

Description Denise Smith CLA 2011-07-04 16:23:53 EDT
In JSON String values are in quotes "myValue" but boolean and numeric values are not.  This distinction was not present in XML so needs to be addressed.  Also for attribute support prefix the key with the '@' symbol.
Comment 1 Denise Smith CLA 2011-07-04 16:26:25 EDT
Created attachment 199073 [details]
Test cases
Comment 2 Denise Smith CLA 2011-07-05 10:35:49 EDT
Created attachment 199132 [details]
Test cases
Comment 3 Denise Smith CLA 2011-07-05 11:02:18 EDT
Created attachment 199134 [details]
Code changes for string/non string support and attributes
Comment 4 Denise Smith CLA 2011-07-05 11:42:44 EDT
Created attachment 199137 [details]
Code changes
Comment 5 Denise Smith CLA 2012-02-23 11:54:51 EST
changes as attached checked in.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:35:00 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink