Browse Source

Add JAXB Converter in Document

Joel Handwell 2 months ago
parent
commit
c04ebd2566
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      website/index.html

+ 2
- 1
website/index.html View File

@@ -144,7 +144,8 @@ Call&lt;User> getUser(@HeaderMap Map&lt;String, String&gt; headers)</pre>
144 144
                 <li><a href="https://developers.google.com/protocol-buffers/">Protobuf</a>: <code>com.squareup.retrofit2:converter-protobuf</code></li>
145 145
                 <li><a href="https://github.com/square/wire">Wire</a>: <code>com.squareup.retrofit2:converter-wire</code></li>
146 146
                 <li><a href="http://simple.sourceforge.net/">Simple XML</a>: <code>com.squareup.retrofit2:converter-simplexml</code></li>
147
-                <li>Scalars (primitives, boxed, and String): <code>com.squareup.retrofit2:converter-scalars</code></li>
147
+		<li><a href="https://docs.oracle.com/javase/tutorial/jaxb/intro/index.html">JAXB</a>: <code>com.squareup.retrofit2:converter-jaxb</code></li>
148
+		<li>Scalars (primitives, boxed, and String): <code>com.squareup.retrofit2:converter-scalars</code></li>
148 149
               </ul>
149 150
               <p>Here's an example of using the <code>GsonConverterFactory</code> class to generate an implementation of the <code>GitHubService</code> interface which uses Gson for its deserialization.</p>
150 151
               <pre class="prettyprint">Retrofit retrofit = new Retrofit.Builder()

Loading…
Cancel
Save