I am using Moshi with Retrofit2 by doing:
.addConverterFactory(MoshiConverterFactory.create(moshi))
However, Logcat shows an error:
Error: java.io.IOException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
How do I set this with Moshi?
We’ll need to add this to Retrofit 2’s MoshiConverterFactory.
@swankjesse any progress?
This was added. It will be in the next Retrofit release.
On Sat, Mar 5, 2016, 6:25 PM Alok Bansal [email protected] wrote:
@swankjesse https://github.com/swankjesse any progress?
—
Reply to this email directly or view it on GitHub
https://github.com/square/moshi/issues/132#issuecomment-192758668.
While you didn't release a new version of retrofit is there only one solution to downgrade the retrofit version up to 2.0.0-beta3?
There is a new release of Retrofit.
On Tue, Mar 22, 2016, 3:48 AM Aleksandr Mirko [email protected]
wrote:
While you didn't release a new version of retrofit is there only one
solution to downgrade the retrofit version up to 2.0.0-beta3?—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/square/moshi/issues/132#issuecomment-199682453
tray asLenient()
.addConverterFactory(MoshiConverterFactory.create(moshi).asLenient())
Most helpful comment
tray asLenient()
.addConverterFactory(MoshiConverterFactory.create(moshi).asLenient())