Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/DesignDocs/350483
< EclipseLink | DesignDocs
Revision as of 16:16, 28 July 2011 by Denise.mahar.oracle.com (Talk | contribs) (→Bug 350483:Object to JSON Support)
Bug 350483:Object to JSON Support
JAXB Annotations
- XmlAccessOrder
- XmlAccessorOrder
- XmlAccessorType
- XmlAccessType
- XmlAnyAttribute
- XmlAnyElement
- XmlAttribute
- XmlAttributeRef
- XmlElement
- XmlElementWrapper
- XmlID
- XmlIDREF
- XmlJavaTypeAdapter
- XmlJavaTypeAdapters
- XmlList
- XmlMimeType
- XmlMixed
- XmlNs
- XmlNsForm
- XmlRootElement
- XmlSchema
- XmlSeeAlso
- XmlTransient
- XmlType
- XmlValue
MOXy Annotations
- XmlAccessMethods
- XmlCDATA
- XmlClassExtractor
- XmlContainerPolicy
- XmlCustomizer
- XMLDiscriminatorNode
- XMLDiscriminatorValue
- XmlElementsJoinNodes
- XmlInverseReference
- XmlIsSetNullPolicy
- XmlJoinNode
- XmlJoinNodes
- XmlKey
- XmlMashalNullRepresentation
- XmlNameTransformer
- XmlNullPolicy
- XmlParameter
- XmlPath
- XmlPaths
- XmlProperties
- XmlProperty
- XmlReadOnly
- XmlReadTransformer
- XmlTransformation
- XmlVirtualAccessMethods
- XmlVirtualAccessMethodsSchema
- XmlWriteOnly
- XmlWriteTransformer
- XmlWriteTransformers
Other Concepts
- Inheritance- XML - <prefix:vehicle xsi:type="prefix:car-type">
JSON-Can unmarshal "type":"prefix:car-type" or "type":"car-type", Should it marshal "type":"prefix:car-type" or "type":"car-type",
- Namespaces
- Date types
- xsi:type attribute
- attributes of type java.lang.Object (or Collection of Objects).
- Equivalent XML -
<responsibilities> <responsibility xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xsi:type="xsd:string">Fix Bugs</responsibility>
- JSON supports no "root element" ie: