Varve.Json.Canonical
0.1.0-preview.20
dotnet add package Varve.Json.Canonical --version 0.1.0-preview.20
NuGet\Install-Package Varve.Json.Canonical -Version 0.1.0-preview.20
<PackageReference Include="Varve.Json.Canonical" Version="0.1.0-preview.20" />
<PackageVersion Include="Varve.Json.Canonical" Version="0.1.0-preview.20" />
<PackageReference Include="Varve.Json.Canonical" />
paket add Varve.Json.Canonical --version 0.1.0-preview.20
#r "nuget: Varve.Json.Canonical, 0.1.0-preview.20"
#:package Varve.Json.Canonical@0.1.0-preview.20
#addin nuget:?package=Varve.Json.Canonical&version=0.1.0-preview.20&prerelease
#tool nuget:?package=Varve.Json.Canonical&version=0.1.0-preview.20&prerelease
Varve.Json.Canonical
RFC 8785, the JSON Canonicalization Scheme, over UTF-8, with no dependency
(ADR 0147). It is the one implementation of the canonical form in Varve:
Varve.JsonLd writes rdf:JSON literals with it, and Varve.Events writes
CloudEvents, schemas and AsyncAPI documents with it. What it writes for an
input never changes, because those bytes are read for ever.
CanonicalJson: the three rules as functions.WriteStringescapes only",\and the control characters (§3.2.2.2).FormatNumberandWriteNumberrender a double as ECMAScript'sNumber::toStringdoes (§3.2.2.3).CompareNamesorders member names by their UTF-16 code units (§3.2.3).
CanonicalJsonWriter: a forward-only writer into anIBufferWriter<byte>. An object's members must arrive in canonical order; a member out of order, a non-finite number, or a value where a name is due throws, so a caller cannot write a non-canonical document by accident.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Varve.Json.Canonical:
| Package | Downloads |
|---|---|
|
Varve.JsonLd
JSON-LD 1.1: expansion, toRdf and fromRdf over System.Text.Json's Utf8JsonReader and Utf8JsonWriter, with RDF 1.2's base directions and rdf:JSON literals in canonical form. |
|
|
Varve.Events
Domain events as quads: the event catalogue's declarations, their rendering as CloudEvents 1.0 in RFC 8785 canonical JSON through declared SELECT mappings, JSON Schemas with immutable revisions, AsyncAPI 3.0, and the compatibility check of a declaration change. |
|
|
Varve.Shacl.Store
Commit-time SHACL gating for Varve.Store: shapes bindings that refuse a commit introducing a violation, or attach a digest of its affected report, validating only the focus nodes a commit's delta affects. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.20 | 64 | 11/10/2026 |
| 0.1.0-preview.19 | 84 | 11/6/2026 |
| 0.1.0-preview.18 | 76 | 11/6/2026 |
| 0.1.0-preview.17 | 75 | 11/6/2026 |
| 0.1.0-preview.16 | 79 | 11/3/2026 |
| 0.1.0-preview.15 | 315 | 10/26/2026 |
| 0.1.0-preview.14 | 76 | 10/26/2026 |
| 0.1.0-preview.13 | 78 | 10/26/2026 |
| 0.1.0-preview.12 | 104 | 10/23/2026 |
| 0.1.0-preview.11 | 76 | 10/21/2026 |
| 0.1.0-preview.10 | 81 | 10/20/2026 |
| 0.1.0-preview.9 | 76 | 10/19/2026 |
| 0.1.0-preview.8 | 83 | 10/17/2026 |
| 0.1.0-preview.7 | 93 | 10/17/2026 |