Skip to content

Commit 4e1b7d4

Browse files
committed
update to 9
1 parent 71acb35 commit 4e1b7d4

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Helpers/SimApiUtil.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ public static class SimApiUtil
2424
/// </summary>
2525
public static JsonSerializerOptions JsonOption => new()
2626
{
27-
ReferenceHandler = ReferenceHandler.Preserve,
27+
// ReferenceHandler = ReferenceHandler.Preserve,
2828
Encoder = JavaScriptEncoder.Create(UnicodeRanges.All),
2929
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
30-
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
30+
// DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
3131
};
3232

3333
/// <summary>

SimApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<SynchReleaseVersion>false</SynchReleaseVersion>
1515
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1616
<PackageVersion>5.0.2</PackageVersion>
17-
<TargetFramework>net8.0</TargetFramework>
1817
<Nullable>enable</Nullable>
18+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
1919
</PropertyGroup>
2020

2121
<ItemGroup>

SimApiExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Linq;
44
using System.Reflection;
55
using System.Text.Json;
6-
using System.Text.Json.Serialization;
76
using Hangfire;
87
using Hangfire.Console;
98
using Hangfire.Redis.StackExchange;

0 commit comments

Comments
 (0)