Azrng.Core.NewtonsoftJson 1.2.0

dotnet add package Azrng.Core.NewtonsoftJson --version 1.2.0
                    
NuGet\Install-Package Azrng.Core.NewtonsoftJson -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Azrng.Core.NewtonsoftJson" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Azrng.Core.NewtonsoftJson" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Azrng.Core.NewtonsoftJson" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Azrng.Core.NewtonsoftJson --version 1.2.0
                    
#r "nuget: Azrng.Core.NewtonsoftJson, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Azrng.Core.NewtonsoftJson@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Azrng.Core.NewtonsoftJson&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Azrng.Core.NewtonsoftJson&version=1.2.0
                    
Install as a Cake Tool

Azrng.Core.NewtonsoftJson

使用方法

注入配置

services.ConfigureNewtonsoftJson();

// 支持自定义配置
services.ConfigureNewtonsoftJson((options) =>
{
});

使用的时候注入接口IJsonSerializer

依赖包

Common.Core

版本更新记录

  • 1.2.0
    • 更新IJsonSerializer中ToJson泛型约束
  • 1.1.1
    • 修复null值情况下反序列化报错的问题
  • 1.1.0
    • 更新引用包
  • 1.0.0
    • 基础的序列化包
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Azrng.Core.NewtonsoftJson:

Package Downloads
AzrngCommon

基本的公共类库

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 269 9/18/2025
1.1.1 261 8/26/2025
1.1.0 348 3/20/2025
1.0.0 170 3/18/2025