Azrng.Core.Json 1.2.2

dotnet add package Azrng.Core.Json --version 1.2.2
                    
NuGet\Install-Package Azrng.Core.Json -Version 1.2.2
                    
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.Json" Version="1.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Azrng.Core.Json" Version="1.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Azrng.Core.Json" />
                    
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.Json --version 1.2.2
                    
#r "nuget: Azrng.Core.Json, 1.2.2"
                    
#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.Json@1.2.2
                    
#: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.Json&version=1.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Azrng.Core.Json&version=1.2.2
                    
Install as a Cake Tool

Azrng.Core.Json

使用方法

注入配置

services.ConfigureDefaultJson();

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

使用的时候注入接口IJsonSerializer

版本更新记录

  • 1.2.2

    • 更新IJsonSerializer中ToJson泛型约束
  • 1.2.1

    • 修复null值情况下反序列化报错的问题
  • 1.2.0

    • ConfigureDefaultJson支持设置自定义的序列化设置
    • 支持反序列不规格json,比如包含注释、尾随逗号
  • 1.1.0

    • 更新引用程序包
    • 更新命名空间
  • 1.0.1-beta2

    • 扩展注入的时候支持无参方式
    • 增加对象深拷贝方法
  • 1.0.1-beta1

    • 增加序列化转换器LongToStringConverter
    • 优化写法,调整目录
  • 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.2 267 9/18/2025
1.2.1 201 8/26/2025
1.2.0 159 8/24/2025
1.1.0 170 3/20/2025
1.1.0-beta2 118 2/12/2025
1.1.0-beta1 105 12/23/2024
1.0.0 134 11/28/2024