Recently we migrated from asp.net to aspnet.core, we've a global setting
jsonSettings.NullValueHandling = NullValueHandling.Ignore;
in StartUp.cs in our Asp.net core project.
This setting doesn't allow nulls during serialization and de-serialization process, as per our requirement we need to allow nulls during de-serialization but doesn't need to allow nulls during serialization i.e. from api response to front-end. How the NullValueHandling.Ignore
could be override only for serialization process.
Please suggest !