Skip to content

Commit 3fc3003

Browse files
authored
Update README.md
1 parent a849687 commit 3fc3003

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

moshi/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ GitHub github = Feign.builder()
1111
.decoder(new MoshiDecoder())
1212
.target(GitHub.class, "https://api.github.com");
1313
```
14-
15-
### Map<String, Object> and Numbers
16-
The default constructors of `MoshiEncoder` and `MoshiDecoder` decoder numbers in
17-
`Map<String, Object>` as Integer type. This prevents reading `{"counter", "1"}`
18-
as `Map.of("counter", 1.0)`.
19-
20-
To change this, please use constructors that accept a Moshi object.

0 commit comments

Comments
 (0)