Skip to content

Instantly share code, notes, and snippets.

View federico-paolillo's full-sized avatar

Federico Paolillo federico-paolillo

View GitHub Profile
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active May 1, 2024 13:35
Files for PlayStation BIOS Files NA-EU-JP
@regisdiogo
regisdiogo / Startup.cs
Last active June 13, 2022 11:17
ASP.NET Core - Json serializer settings Enum as string and ignore null values
public class Startup
{
public IServiceProvider ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddJsonOptions(options =>
{
options.SerializerSettings.Converters.Add(new Newtonsoft.Json.Converters.StringEnumConverter());
options.SerializerSettings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore;
});
}