The owning client (carries reportUnknownFields/onUnknownField).
Model name, used in the report.
The raw JSON object the model was built from.
The finished model instance.
OptionalalsoKnown: readonly string[]Raw keys consumed under a different model field name (for example a snake_case API key mapped to a camelCase field); not reported.
Detect API keys the finished model did not map and report them — to the client's
onUnknownFieldhook when set, otherwise toconsole.warnwhenreportUnknownFieldsis enabled.Called at the end of a
deJsononce every field (scalar and nested) is assigned: any raw key without a matching own-property on the model is unmapped. This relies on the library's verbatim camelCase mapping (model field names equal API keys), which holds throughout. Detection is off unless one of the two options is set, so it is safe to leave wired into every model.