-
As of today I'm using Retroft in combination with Moshi for Serialization and Arrow's Either API for return type specifications, for instance suspended network calls return something like `Either` whe…
-
-
We have to make a decision to use Moshi or write our custom Protobuf *.proto -> to Kotlin's serialization data models *.kt codegenerator.
However, we want to be open to switching to Multiplatform in …
-
There's already support for parsing enum values with unrecognised values, `EnumJsonAdapter` with a fallback.
```
Moshi moshi = new Moshi.Builder()
.add(CurrencyCode.class, EnumJsonAdapter.cre…
-
we use JSONObject in multiple places. If we can reduce amount of code using GSON/Jackson/Moshi - we should do that.
Performance is not the top criteria here.
-
#### Bug Report Checklist
- [x] Have you provided a full/minimal spec to reproduce the issue?
- [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagg…
-
I have three moshi artifacts as a dependency:
* `com.squareup.moshi:moshi-kotlin-codegen:`
* `com.squareup.moshi:moshi-adapters:`
* `com.squareup.moshi:moshi:`
All of them have (currently) the v…
-
AS-IS
- kTor 과 Fuel 혼재
- jackson, moshi 혼재
TO-BE
- [ ] `kTor` 만 사용하기
- [ ] `moshi` 만 사용하기
- [ ] android sdk version 24 으로 바꾸기
---
참고 꿀팁
- jackson: 대용량 json 에 적합
- moshi, gson: 소규모 …
-
I'm the author of a modularized library written in Kotlin. I use the following artifacts as dependencies for my library:
- `com.squareup.moshi:moshi`
- `com.squareup.moshi:moshi-kotlin`
While t…
-
##### Description
We use a legacy REST server that returns a non-empty response even if it the response type is Unit.
In this case the following exception is thrown:
java.lang.IllegalArgumentExce…