12 / 263

docc2json

docc2json - Product Hunt launch logo and brand identity

Turn Apple DocC output into a web-friendly SDK JSON schema

#iOS #Software Engineering #GitHub #Apple

docc2json – Convert Apple DocC output into a web-optimized SDK JSON schema

Summary: docc2json is a Go CLI tool that parses Apple DocC JSON output and transforms it into a clean, structured JSON schema optimized for web documentation, IDE tooling, and analysis. It reconstructs method signatures, extracts full documentation, resolves symbol cross-references, and filters irrelevant data to enable reuse beyond Xcode.

What it does

docc2json processes DocC output from .doccarchive or docs folders, generating an SDK-focused JSON schema by reconstructing method signatures, extracting abstracts and examples, filtering access levels, and resolving cross-references.

Who it's for

It is designed for developers and teams needing to reuse Apple DocC documentation data in custom web documentation sites, IDE tools, or analysis workflows.

Why it matters

It solves the problem of DocC’s tightly coupled JSON output by producing a reusable, clean schema suitable for external documentation and tooling.