forked from square/retrofit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request square#508 from square/jw/converter-docs
Add simple documentation to each converter.
- Loading branch information
Showing
5 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Jackson Converter | ||
================= | ||
|
||
A `Converter` which uses [Jackson][1] for serialization to and from JSON. | ||
|
||
A default `ObjectMapper` instance will be created or one can be configured and passed to the | ||
`JacksonConverter` construction to further control the serialization. | ||
|
||
|
||
[1]: http://wiki.fasterxml.com/JacksonHome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Google Protocol Buffer Converter | ||
================================ | ||
|
||
A `Converter` which uses [Protocol Buffer][1] binary serialization. | ||
|
||
|
||
[1]: https://developers.google.com/protocol-buffers/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Simple XML Converter | ||
==================== | ||
|
||
A `Converter` which uses [Simple][1] for XML serialization. | ||
|
||
A default `Serializer` instance will be created or one can be configured and passed to the | ||
`SimpleXMLConverter` construction to further control the serialization. | ||
|
||
|
||
Android | ||
------- | ||
|
||
Simple depends on artifacts which are already provided by the Android platform. When specifying as | ||
a Maven or Gradle dependency, exclude the following transitive dependencies: `stax:stax-api`, | ||
`stax:stax`, and `xpp3:xpp3`. | ||
|
||
|
||
|
||
[1]: http://simple.sourceforge.net/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Wire Converter | ||
============== | ||
|
||
A `Converter` which uses [Wire][1] for protocol buffer-compatible serialization. | ||
|
||
A default `Wire` instance will be created or one can be configured and passed to the | ||
`WireConverter` construction to further control the serialization. | ||
|
||
|
||
[1]: https://github.com/square/wire |