Bug 407528 - Enhancement Request: Enable non-String inheritance indicators for JSON-Binding
Summary: Enhancement Request: Enable non-String inheritance indicators for JSON-Binding
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL: http://stackoverflow.com/a/16430749/3...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 09:44 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2013-05-08 09:44:10 EDT
Currently we always write out the inheritance indicator as a String.  Since JSON differentiates how Strings, numbers, Booleans are written out it would be nice to be able to leverage these different types.

One way to do this would be to add a type property to the @XmlDescriminatorNode annotation.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:07:16 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink