This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
;;;;;; | |
;;;;;;;;;;; | |
;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;; | |
+$I=sub{+s+^+ ;;;;;;; ;;;;;;;;; | |
$"x$_[1]+gem;$/x$_# ;;;; ;;;;;;;; |