HyperDev.Text.Json
1.2.3
See the version list below for details.
dotnet add package HyperDev.Text.Json --version 1.2.3
NuGet\Install-Package HyperDev.Text.Json -Version 1.2.3
<PackageReference Include="HyperDev.Text.Json" Version="1.2.3" />
<PackageVersion Include="HyperDev.Text.Json" Version="1.2.3" />
<PackageReference Include="HyperDev.Text.Json" />
paket add HyperDev.Text.Json --version 1.2.3
#r "nuget: HyperDev.Text.Json, 1.2.3"
#:package HyperDev.Text.Json@1.2.3
#addin nuget:?package=HyperDev.Text.Json&version=1.2.3
#tool nuget:?package=HyperDev.Text.Json&version=1.2.3
HyperDev.Text.Json
JSON utilities for .NET built on Newtonsoft.Json and Newtonsoft.Json.Schema, part of the HyperDev Fatum framework.
- JSON Schema helpers: parsing, validation with readable errors, defaults and constants, dereferencing, comparison
- Schema inference from sample data
- JSON transformation and expression evaluation
- Serialization extensions: custom contract resolvers, inheritance-aware converters
Installation
dotnet add package HyperDev.Text.Json
Quick start
using HyperDev.Text.Json.Schema;
using Newtonsoft.Json.Linq;
if (JSchemaHelper.TryParse(@"{ ""type"": ""object"", ""required"": [""name""] }", out var schema))
{
var data = JToken.Parse(@"{ ""age"": 42 }");
if (!schema.IsValid(data, out var errors))
{
foreach (var error in errors)
Console.WriteLine($"{error.Path}: {error.Message}");
}
}
Newtonsoft.Json.Schema license
This package depends on Newtonsoft.Json.Schema, which is commercial software (or AGPL-3.0).
Without a license key it works within the free quota: 1,000 validations and 10 schema generations per hour, then it throws JSchemaException.
The key is never stored in this package. Provide your own in one of these ways:
Environment variable (read automatically when the library loads), checked in this order:
NEWTONSOFT_JSON_SCHEMA_LICENSEJSONSCHEMA_LICENSE<EntryAssemblyName>_JSONSCHEMA
From code, for example when the key comes from configuration or a key vault:
HyperDev.Text.Json.JsonSchemaLicense.Register(configuration["JsonSchema:License"]);
JsonSchemaLicense.IsRegistered tells whether a key has been registered in the current process.
Libraries that need validating readers or schema generators should create them with
JSchemaHelper.CreateValidatingReader(...) and JSchemaHelper.CreateGenerator(), so the license is registered first.
Target frameworks
.NET 8.0, .NET 10.0
License
MIT, © Ivan Senatore, Wemake Informatica srl. Third-party dependencies keep their own licenses (Newtonsoft.Json: MIT, Antlr4.Runtime: BSD-3-Clause, Newtonsoft.Json.Schema: commercial or AGPL-3.0).
| 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 was computed. 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 is compatible. 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. |
-
net10.0
- Antlr4.Runtime (>= 4.6.6)
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.2)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.4)
- Newtonsoft.Json.Schema (>= 4.0.1)
-
net8.0
- Antlr4.Runtime (>= 4.6.6)
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.2)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.4)
- Newtonsoft.Json.Schema (>= 4.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on HyperDev.Text.Json:
| Package | Downloads |
|---|---|
|
HyperDev.Web
HyperDev Fatum Framework |
|
|
HyperDev.Web.Remoting
HyperDev Fatum Framework |
|
|
HyperDev.Utilities
HyperDev Fatum Framework |
|
|
HyperDev.Text.Json.Transform
HyperDev Fatum Framework: JsonTransform and the Newtonsoft.Json.Schema helpers (inference, samples, validation) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.4 | 123 | 11/11/2026 |
| 1.2.3 | 161 | 11/7/2026 |
| 1.2.2 | 184 | 10/1/2026 |
| 1.2.1 | 147 | 9/18/2026 |
| 1.2.0 | 270 | 7/29/2026 |
| 1.1.14 | 217 | 7/7/2026 |
| 1.1.13 | 335 | 5/20/2026 |
| 1.1.12 | 156 | 5/15/2026 |
| 1.1.11 | 363 | 3/2/2026 |
| 1.1.10 | 320 | 2/10/2026 |
| 1.1.9 | 215 | 2/3/2026 |
| 1.1.8 | 564 | 11/18/2025 |
| 1.1.7 | 303 | 11/5/2025 |
| 1.1.6 | 279 | 10/6/2025 |
| 1.1.5 | 315 | 9/30/2025 |
| 1.1.4 | 274 | 9/30/2025 |
| 1.1.3 | 240 | 9/30/2025 |
| 1.1.2 | 261 | 9/29/2025 |
| 1.1.1 | 362 | 9/19/2025 |
| 1.1.0.8 | 260 | 9/6/2025 |