This signature of jackson-databind's `set` is:
public <T extends JsonNode> T set(String fieldName, JsonNode value)
When running the Scala compiler with dead code warnings enabled, this
will cause warnings due to https://github.com/scala/bug/issues/8109 .
Making the generic type explicit avoids that.
|
||
|---|---|---|
| .. | ||
| main | ||
| test | ||