< Summary

Information
Class: GistBackend.Utils.SerializerDefaults
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Utils/SerializerDefaults.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 11
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Utils/SerializerDefaults.cs

#LineLine coverage
 1using System.Text.Json;
 2
 3namespace GistBackend.Utils;
 4
 5public static class SerializerDefaults
 6{
 17    public static readonly JsonSerializerOptions JsonOptions = new() {
 18        PropertyNameCaseInsensitive = true,
 19        PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower
 110    };
 11}

Methods/Properties

.cctor()