Is there any way to deserialize a json text populating all existing properties and ignore the missing ones (the same behavior as Newtonsoft.Json)?
This is the only issue preventing us to fully replace Newtonsfot.Json with Utf8Json.
@rafaelvascc
You marked this as closed, did you manage to find a workaround? If so, would you mind sharing? Having same issue changing from Newtonsoft.Json to Utf8Json...
Lets say i have a C# class like...
and i'm trying to deserialize the following json...
What i get is an object with all properties as null. if it try to deserialize the following json...
I get the correct object with all properties.
Is there any way to deserialize a json text populating all existing properties and ignore the missing ones (the same behavior as Newtonsoft.Json)? This is the only issue preventing us to fully replace Newtonsfot.Json with Utf8Json.
Thanks.