coerceInputValues

var coerceInputValues: Boolean

Enables coercing incorrect JSON values to the default property value in the following cases:

  1. JSON value is null but property type is non-nullable.

  2. Property type is an enum type, but JSON value contains unknown enum member.

false by default.