|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (1)
View page history... |
Investigate better support for JSON with JAXB that easier for clients to consume. |
---- Goal: "Easier to consume" may have different meaning based on concrete client requirements/capabilities. The way should be in allowing users to configure the format which suits them best. Configuration: The plan is to allow users to create their own JAXBContext instance and set the json/format related options on it. JSON formats/notations: Currently jettison library is used by Jersey. Besides above mentioned badgerfish convention it supports so called mapped convention. It should be at least possible to switch between the two and to specify namespace mapping for the mapping convention. jMaki support: for jMaki widgets, mapped convention looks fine, but is not sufficient as is. Current issues: TBD What needs to be implemented: # Jersey: the mean to take JAXBContext from application and use it by message readers/writers # JAXB: provide a way to set options for marshaller/unmarshaller directly via JAXBContext # JAXB: integrate jettison/another lib into JAXB for JSON support # JAXB: implement customizations for jMaki support |