This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 351119 - JSON marshal - handle string vs. non-string values and attributes
Summary: JSON marshal - handle string vs. non-string values and attributes
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: 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-07-04 16:23 EDT by Denise Smith CLA
Modified: 2022-06-09 10:35 EDT (History)
1 user (show)

See Also:


Attachments
Test cases (23.39 KB, patch)
2011-07-04 16:26 EDT, Denise Smith CLA
no flags Details | Diff
Test cases (23.38 KB, patch)
2011-07-05 10:35 EDT, Denise Smith CLA
no flags Details | Diff
Code changes for string/non string support and attributes (28.79 KB, patch)
2011-07-05 11:02 EDT, Denise Smith CLA
no flags Details | Diff
Code changes (28.59 KB, patch)
2011-07-05 11:42 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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