Json Providers
Apache Wink provides a set providers that are capable of serializing a number of data models (JSONObject, JAXBElement, SyndEntry, SyndFeed) into JSON representations. The following tables list these providers.
JsonProvider
TBD
|
Supported |
Media Types |
Entity |
---|---|---|---|
Read |
No |
N/A |
N/A |
Write |
Yes |
application/json , application/javascript |
JSONObject >> |
JsonJAXBProvider
TBD
|
Supported |
Media Types |
Entity |
---|---|---|---|
Read |
No |
N/A |
N/A |
Write |
Yes |
application/json , application/javascript |
JAXB object, |
JsonSyndEntryProvider
TBD
|
Supported |
Media Types |
Entity |
---|---|---|---|
Read |
No |
N/A |
N/A |
Write |
Yes |
application/json, application/javascript |
SyndEntry>> |
JsonSyndFeedProvider
TBD
|
Supported |
Media Types |
Entity |
---|---|---|---|
Read |
No |
N/A |
N/A |
Write |
Yes |
application/json , application/javascript |
SyndFeed>> |
JSON Data Models
Apache Wink provides a JSON data model for producing JSON (application/json). All of the model classes are located under the com.hp.Apache Wink.common.model.json package.