Skip to content

Commit 74ace25

Browse files
committed
Add note about new repo
1 parent 64e081d commit 74ace25

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
[![CodeQL analysis](https://github.com/destructurama/json-net/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/destructurama/json-net/actions/workflows/codeql-analysis.yml)
2222

2323
Adds support for logging JSON.NET dynamic types as structured data with [Serilog](https://serilog.net).
24+
For System.Text.Json dynamic types see [this repo](https://github.com/destructurama/system-text-json).
2425

2526
# Installation
2627

src/Destructurama.JsonNet.Tests/Destructurama.JsonNet.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<PackageReference Include="xunit" Version="2.9.2" />
1212
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0" />
1313
<PackageReference Include="Serilog" Version="4.2.0" />
14-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1514
<PackageReference Include="Shouldly" Version="4.2.1" />
1615
<PackageReference Include="PublicApiGenerator" Version="11.3.0" />
1716
<PackageReference Include="coverlet.msbuild" Version="6.0.3">

src/Destructurama.JsonNet.Tests/JsonNetTypesDestructuringTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private sealed class StubFactory : ILogEventPropertyValueFactory
118118
public LogEventPropertyValue CreatePropertyValue(object? value, bool destructureObjects = false)
119119
{
120120
if (value is JArray arr && arr.Values<int>().SequenceEqual([1, 2, 3]))
121-
return new SequenceValue(new[] { new ScalarValue(1), new ScalarValue(2), new ScalarValue(3) });
121+
return new SequenceValue([new ScalarValue(1), new ScalarValue(2), new ScalarValue(3)]);
122122

123123
if (value is JToken t && t.Value<int>() == 42)
124124
return new ScalarValue(42);

0 commit comments

Comments
 (0)