mirror of
https://github.com/fankes/moshi.git
synced 2025-12-13 04:31:03 +08:00
Merge pull request #339 from oldergod/patch-1
Fix builder calls to new API
This commit is contained in:
@@ -7,7 +7,7 @@ To use, supply an instance of your desired converter when building your `Moshi`
|
||||
|
||||
```java
|
||||
Moshi moshi = new Moshi.Builder()
|
||||
.addConverterFactory(Date.class, new Rfc3339DateJsonAdapter())
|
||||
.add(Date.class, new Rfc3339DateJsonAdapter())
|
||||
//etc
|
||||
.build();
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user