...
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
| Supported | Media Types | Entity |
---|---|---|---|
Read | No | N/A | N/A |
Write | Yes | application/json , application/javascript | JSONObject >> |
JsonJAXBProvider
| Supported | Media Types | Entity |
---|---|---|---|
Read | No | N/A | N/A |
Write | Yes | application/json , application/javascript | JAXB object, |
JsonSyndEntryProvider
| Supported | Media Types | Entity |
---|---|---|---|
Read | No | N/A | N/A |
Write | Yes | application/json, application/javascript | SyndEntry>> |
JsonSyndFeedProvider
| Supported | Media Types | Entity |
---|---|---|---|
Read | No | N/A | N/A |
Write | Yes | application/json , application/javascript | SyndFeed>> |
Asset Provider
Apache Wink provides a special provider that is responsible for reading and writing Asset objects.