Skip to content

Commit

Permalink
Fix in fallback deserializer
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaro committed Jan 8, 2024
1 parent ddaefbe commit c6bde69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object KotlinxJsonMapper : JsonMapper {
null
} catch (e: IllegalStateException) {
null
} ?: fallbackMapper.readValue(json, object : TypeReference<T>() {})
} ?: fallbackMapper.readValue(json, fallbackMapper.typeFactory.constructType(targetType))

}

Expand Down

0 comments on commit c6bde69

Please sign in to comment.