ObviousPDF.Json
1.5.0
dotnet add package ObviousPDF.Json --version 1.5.0
NuGet\Install-Package ObviousPDF.Json -Version 1.5.0
<PackageReference Include="ObviousPDF.Json" Version="1.5.0" />
<PackageVersion Include="ObviousPDF.Json" Version="1.5.0" />
<PackageReference Include="ObviousPDF.Json" />
paket add ObviousPDF.Json --version 1.5.0
#r "nuget: ObviousPDF.Json, 1.5.0"
#:package ObviousPDF.Json@1.5.0
#addin nuget:?package=ObviousPDF.Json&version=1.5.0
#tool nuget:?package=ObviousPDF.Json&version=1.5.0
ObviousPDF.Json
Generate standards-compliant, accessible PDF documents from JSON with zero dependencies.
ObviousPDF.Json is the JSON-to-PDF renderer for ObviousPDF. It accepts a JSON document
conforming to the ObviousPDF JSON Schema
and produces a tagged, accessible PDF binary. Requires the ObviousPDF core package.
Easy Accessibility (v1.2.0)
Make any JSON-to-PDF document accessible with a single property:
{
"accessible": true,
"title": "My Document",
"language": "en-US",
"pages": [
{
"elements": [
{ "type": "text", "text": "Hello, accessible world!", "x": 72, "y": 720 }
]
}
]
}
With "accessible": true, the renderer automatically enables tagged PDF, PDF/UA-1 conformance,
auto-tagging for text and images, standard font substitution, and correct form field structure
placement. No structureTree section is required.
Use "structureTag": "H1" (or "H2", "BlockQuote", etc.) on any element to override the
default /P auto-tag for richer document semantics.
Accessibility Report Generation (v1.3.0)
Get automated feedback on document accessibility:
{
"accessible": true,
"generateAccessibilityReport": true,
"pages": [ ... ]
}
var result = PdfJsonRenderer.RenderWithReport(json, "output.pdf");
if (result.AccessibilityReport != null)
Console.WriteLine(result.AccessibilityReport.ToString());
Or enable via renderer options:
var options = new PdfJsonRendererOptions { GenerateAccessibilityReport = true };
var renderer = new PdfJsonRenderer(options);
var result = renderer.RenderToFileWithReport(json, "output.pdf");
⚠️ Disclaimer: The automated accessibility reports and checks provided by ObviousPDF are intended solely to assist in the assessment of document accessibility. They are not a comprehensive accessibility audit. To confirm that WCAG or PDF/UA standards are fully met, it is recommended to have human assessment by an accessibility specialist.
Sister Projects
| Package | Format | Best For |
|---|---|---|
ObviousPDF.Json |
JSON | Web APIs, LLM/AI generation |
ObviousPDF.Xml |
XML | Enterprise workflows, XSLT transforms |
ObviousPDF.Csv |
CSV | Spreadsheet authoring (Excel, Google Sheets) |
All three pipelines produce identical PDF output and share the same accessibility features.
Set "accessible": true (JSON), accessible="true" (XML), or accessible,true (CSV)
for automatic PDF/UA-1 compliance.
For full documentation, see docs/README.md and the API Reference.
License: See LICENSE.md
Maintained by: Relevant LLC
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. 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 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 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
- ObviousPDF (>= 1.5.0)
-
net6.0
- ObviousPDF (>= 1.5.0)
-
net8.0
- ObviousPDF (>= 1.5.0)
-
net9.0
- ObviousPDF (>= 1.5.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ObviousPDF.Json:
| Package | Downloads |
|---|---|
|
ObviousPDF.Csv
CSV-to-PDF renderer for ObviousPDF. Accepts a CSV document conforming to the ObviousPDF CSV Format and produces a tagged, accessible PDF. Requires the ObviousPDF core package. |
|
|
ObviousPDF.Xml
XML-to-PDF renderer for ObviousPDF. Accepts an XML document conforming to the ObviousPDF XML Schema and produces a tagged, accessible PDF. Requires the ObviousPDF core package. |
GitHub repositories
This package is not used by any popular GitHub repositories.