File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
test/WebJobs.Script.Tests/Diagnostics/HealthChecks Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ namespace Microsoft.Azure.WebJobs.Script
12
12
public static class JsonSerializerOptionsProvider
13
13
{
14
14
/// <summary>
15
- /// Gets the default JSON serializer options used across the functions host.
15
+ /// Shared Json serializer with the following settings:
16
+ /// - AllowTrailingCommas: true
17
+ /// - PropertyNamingPolicy: CamelCase
18
+ /// - DefaultIgnoreCondition: WhenWritingNull.
16
19
/// </summary>
17
20
public static readonly JsonSerializerOptions Options = CreateJsonOptions ( ) ;
18
21
Original file line number Diff line number Diff line change 4
4
using System ;
5
5
using System . Collections . Generic ;
6
6
using System . IO ;
7
- using System . Text . Json ;
8
7
using System . Text . Json . Nodes ;
9
8
using System . Threading . Tasks ;
10
9
using FluentAssertions ;
11
- using HealthChecks . UI . Client ;
12
10
using HealthChecks . UI . Core ;
13
11
using Microsoft . AspNetCore . Http ;
14
12
using Microsoft . Azure . WebJobs . Script . WebHost . Diagnostics . HealthChecks ;
You can’t perform that action at this time.
0 commit comments