C#C
C#4y ago
Kiel

How does Newtonsoft.Json.JsonConverter handle nullable structs?

I'm presently writing a JsonConverter for a third-party struct, and in my json models that field can be null/omitted. Do I need to explicitly write a JsonConverter<MyStruct?> or will the non-nullable one handle that behavior as well?
Was this page helpful?