JsonNet.ContractResolvers
1.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package JsonNet.ContractResolvers --version 1.1.0
NuGet\Install-Package JsonNet.ContractResolvers -Version 1.1.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="JsonNet.ContractResolvers" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonNet.ContractResolvers --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JsonNet.ContractResolvers, 1.1.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.
// Install JsonNet.ContractResolvers as a Cake Addin
#addin nuget:?package=JsonNet.ContractResolvers&version=1.1.0
// Install JsonNet.ContractResolvers as a Cake Tool
#tool nuget:?package=JsonNet.ContractResolvers&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Install the package and use one of the shipped contract resolvers, e.g. PrivateSetterContractResolver
:
var settings = new JsonSerializerSettings
{
ContractResolver = new PrivateSetterContractResolver()
};
var model = JsonConvert.DeserializeObject<Model>(json, settings);
The shipped resolvers are:
PrivateSetterContractResolver
- extendsDefaultContractResolver
with support for private setters.PrivateSetterAndCtorContractResolver
- extendsDefaultContractResolver
with support for private setters and private constructors.PrivateSetterCamelCasePropertyNamesContractResolver
- extendsCamelCasePropertyNamesContractResolver
with support for private setters.PrivateSetterAndCtorCamelCasePropertyNamesContractResolver
- extendsCamelCasePropertyNamesContractResolver
with support for private setters and private constructors.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 12.0.1)
- System.Reflection.TypeExtensions (>= 4.5.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.1)
- System.Reflection.TypeExtensions (>= 4.5.1)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on JsonNet.ContractResolvers:
Package | Downloads |
---|---|
Oms.Framework
Update page result |
|
netcore-sci
Package Description |
|
EventSourced.Persistence.InMemory
Package Description |
|
RentDynamics.RdClient
C# client library to access Rent Dynamics APIs |
|
NTestHelper
Mostly copied and pasted C# classes that ease your live of writing unit tests. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on JsonNet.ContractResolvers:
Repository | Stars |
---|---|
AntonioFalcaoJr/EventualShop
A state-of-the-art distributed system using Reactive DDD as uncertainty modeling, Event Storming as subdomain decomposition, Event Sourcing as an eventual persistence mechanism, CQRS, Async Projections, Microservices for individual deployable units, Event-driven Architecture for efficient integration, and Clean Architecture as domain-centric design
|
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 1,213,722 | 3/28/2021 |