from Safe Json
Attempts to use JsonAdapter.failOnUnknown and logs any issues before falling back to ignoring the unknown fields.
This overload is needed for JVM compatibility.
Attempts to use JsonAdapter.failOnUnknown and logs any issues before falling back to ignoring the unknown fields.