mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-22 05:05:08 +01:00
Enable setting to not fail parsing on unknown field.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
046baf0ffe
commit
2d12aea79f
@ -54,6 +54,7 @@ class SubsonicAPIClient(baseUrl: String,
|
||||
|
||||
private val jacksonMapper = ObjectMapper()
|
||||
.configure(DeserializationFeature.UNWRAP_ROOT_VALUE, true)
|
||||
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
|
||||
.registerModule(KotlinModule())
|
||||
|
||||
private val retrofit = Retrofit.Builder()
|
||||
|
Loading…
Reference in New Issue
Block a user