ObviousPDF.Json 1.5.0

dotnet add package ObviousPDF.Json --version 1.5.0
                    
NuGet\Install-Package ObviousPDF.Json -Version 1.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ObviousPDF.Json" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ObviousPDF.Json" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="ObviousPDF.Json" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ObviousPDF.Json --version 1.5.0
                    
#r "nuget: ObviousPDF.Json, 1.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ObviousPDF.Json@1.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ObviousPDF.Json&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=ObviousPDF.Json&version=1.5.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
1.5.0 143 4/26/2026
1.4.0 139 4/12/2026
1.1.0 91 4/4/2026