Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Nuget package: [SlimMessageBus.Host.Serialization.SystemTextJson](https://www.nu

The Json plugin brings in JSON serialization using the [System.Text.Json](https://www.nuget.org/packages/System.Text.Json) library.

The plugin uses the System.Text.Json 10 NuGet package on .NET Standard 2.0, .NET 6, and .NET 8. On .NET 10, it uses the version included in the runtime.

To use it install the nuget package `SlimMessageBus.Host.Serialization.SystemTextJson` and then configure the bus similar to Json above.

```cs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="6.0.10" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Text.Json" Version="6.0.10" Condition="'$(TargetFramework)' == 'net6.0'" />
<PackageReference Include="System.Text.Json" Version="8.0.6" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="System.Text.Json" Version="10.0.14" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Text.Json" Version="10.0.14" Condition="'$(TargetFramework)' == 'net6.0'" />
<PackageReference Include="System.Text.Json" Version="10.0.14" Condition="'$(TargetFramework)' == 'net8.0'" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading