Felsökning.Utilities.Json 1.0.0

A library that contains a single class to assist with JSON parsing, when an object returned can either be a single item or a list of items.

Install-Package Felsökning.Utilities.Json -Version 1.0.0
dotnet add package Felsökning.Utilities.Json --version 1.0.0
<PackageReference Include="Felsökning.Utilities.Json" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Felsökning.Utilities.Json --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A single class to assist with possible conditions where a JSON return might a single item or a list of items or where serialisation might encounter a single item or a list of items. To use:

[JsonProperty("results")]
[JsonConverter(typeof(SingleItemOrListConverter<YourClassHere>))]
public List<YourClassHere> Results { get; set; }

A single class to assist with possible conditions where a JSON return might a single item or a list of items or where serialisation might encounter a single item or a list of items. To use:

[JsonProperty("results")]
[JsonConverter(typeof(SingleItemOrListConverter<YourClassHere>))]
public List<YourClassHere> Results { get; set; }

Release Notes

Initial release.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Felsökning.Utilities.Json:

Package Downloads
Felsökning.Utilities.MicrosoftGraph
A wrapper for calls to Microsoft Graph using Managed Identity.
Felsökning.Utilities.Azure
An assembly for standardised Azure Key Vault and Azure Log Analytics processes across services.
Felsökning.Utilities.Office365
An assembly for Office 365 management and reporting.
Felsökning.Utilities.CarbonBlack
An assembly for standardising and managing calls to the Carbon Black API.
Felsökning.Utilities.Ireland
An Assembly for Irish-related code activities.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 556 1/26/2020