I recently read up on Jil, claiming to be the faster Serializer than JSON.Net.
I would like some help on creating a Customer MediaTypeFormatter for Jil.
Take note: I'm using .NET framework 4.7.1
Any advice for codes to make Jil able to have such codes as well?
config.Formatters.JsonFormatter.SerializerSettings.NullValueHandling = NullValueHandling.Ignore;
((DefaultContractResolver) config.Formatters.JsonFormatter.SerializerSettings.ContractResolver).IgnoreSerializableAttribute = true;
config.MessageHandlers.Add(new Library.Api.Authentication.Logs.LogRequestAndResponseHandler());
config.Formatters.JsonFormatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("multipart/form-data"));
Therefore, I want to try replacing JSON.Net with Jil as the Default Serializer for my WEBAPI.