Skip to content

Use contractless resolver without setting default values for missing properties #1085

@barakakha

Description

@barakakha

i'm trying to deserialize dictionary of <string, object> to a class. when some of the properties in the class are not in the serialized dictionary the deserialization is setting the default values for those properties.

is there a way to avoid that? maybe with some custom formatter\resolver?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions