public static IApplicationBuilder UseJsonValidator(
     this IApplicationBuilder builder, InvalidJsonResponse options)
 {
     return(builder.UseMiddleware <JsonValidatorMiddleware>(options));
 }
 public JsonValidatorMiddleware(RequestDelegate next, InvalidJsonResponse options)
 {
     _next    = next;
     _options = options;
 }