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

Bug 359252

Summary: JSON marshal a property of type Class should be in quotes but is not
Product: z_Archived Reporter: Denise Smith <denise.mahar>
Component: EclipselinkAssignee: Denise Smith <denise.mahar>
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 and test
none
Proposed changes none

Description Denise Smith CLA 2011-09-28 11:07:34 EDT
public class SomeClass{
   public Class testClassProp;
}

Resulting JSON looks like this:
{"someClass" : {"testClassProp" : java.lang.String}}

But should look like this:
{"someClass" : {"testClassProp" : "java.lang.String"}}
Comment 1 Denise Smith CLA 2011-09-28 11:42:18 EDT
Created attachment 204201 [details]
Proposed changes and test
Comment 2 Denise Smith CLA 2011-09-28 15:04:26 EDT
Created attachment 204214 [details]
Proposed changes
Comment 3 Denise Smith CLA 2011-09-29 11:55:43 EDT
Checked in changes to support the variables of type Class to be quoted.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:05:26 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink