SystemTextJsonHelpers 1.3.0
See the version list below for details.
dotnet add package SystemTextJsonHelpers --version 1.3.0
NuGet\Install-Package SystemTextJsonHelpers -Version 1.3.0
<PackageReference Include="SystemTextJsonHelpers" Version="1.3.0" />
<PackageVersion Include="SystemTextJsonHelpers" Version="1.3.0" />
<PackageReference Include="SystemTextJsonHelpers" />
paket add SystemTextJsonHelpers --version 1.3.0
#r "nuget: SystemTextJsonHelpers, 1.3.0"
#:package SystemTextJsonHelpers@1.3.0
#addin nuget:?package=SystemTextJsonHelpers&version=1.3.0
#tool nuget:?package=SystemTextJsonHelpers&version=1.3.0
A streamlined ultra-lightweight set of helpful extensions, relaxed (less-strict) converters, and global configuration for working with System.Text.Json.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SystemTextJsonHelpers:
| Package | Downloads |
|---|---|
|
SqlTransactionalOutbox.Common
The Common interfaces and base/shared components for the SqlTransactionalOutbox framework. A lightweight library & framework for implementing the Transactional Outbox pattern in .Net with default implementaions for SQL Server & messaging via Azure Service Bus. Some of the key benefits offered are support for running in serverless environments (e.g. AzureFunctions) or in standard hosted .Net applications (via asynchronous background 'worker threads'), and support for enforcing true FIFO processing to preserve ordering, scheduled events for future delivery, and simplified abstractions for the Outbox, Outbox Processing, and Messaging systems utilized. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Release Notes:
- Add support for Relaxed Date and Time parsing (when non-nullable) which delegates the the default Parse() method for DateTime, DateTimeOffset, DateOnly, & TimeOnly.
- Added a BaseJsonStringDelegateConverter<T> (inspired by the Macross.Json.Extensions library) for easier conversion of string based values.
- Greatly improved configurable options for string outputs of formatted items like DateTime, DateTimeOffset, Numbers, etc.
- Options now include support for custom format strings, and overriding the culture info (Invariant is default), for better control over the output formatting of these types when serialized to JSON.
Prior Release Notes:
- Added support for new custom attributes to enable multi-mapping of Enum values via [JsonStringEnumMemberMultiMap].
- Added support to now explicitly define the primary mapping for output/writing of json via [JsonPrimaryStringEnumMemberMultiMap]; which also serves as a read mapping.
- Added new targeting for .Net 9+ and enabled support for the new [JsonStringEnumMemberName] attribute that is now built-in/default with .Net 9+.
- Added a number of very helpful convenience methods for processing JsonObject, JsonNode, JsonValue.
- These extension methods make it easier to safely retrieve values, enumerate properties, etc. without exceptions
- These convenience methods include support for the Globally configured SystemTextJsonDefaults.DefaultSerializerOptions (e.g. relaxed parsing, custom converters, etc.)
for consistent handling of JSON across the application.
- Initial release of SystemTextJsonHelpers package.
- Supports global configuration of System.Text.Json via `SystemTextJsonDefaults.ConfigureDefaults()` static class configuration method.
- Supports object extensions for common json operations such as `obj.ToJson()` and `text.FromJson<T>()` with relaxed parsing and handling of null values (as configured in `SystemTextJsonDefaults`).
- Supports advanced custom converters for handling of common scenarios such as relaxed parsing of numbers, dates, enums, and more.
- Supports string enum relaxed handling that can handle string values, numeric values, and flags for enums as well as case-insensitive matching, null handling, and annotations (e.g. [EnumMember(Name="")] & [JsonPropertyName("")]).
- Supports relaxed/safe parsing and handling of JSON via nullable types (e.g. int?, bool?, DateTime?, etc.) whereby null is returned on parsing errors instead of throwing exceptions.