All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

docc2json: Convert Apple DocC Documentation to Web-Friendly JSON Schema

By

Nedim

5mo ago· 1 min readenProduct

Summary

docc2json is a Go command-line tool that converts Apple DocC documentation output into a clean, structured JSON schema optimized for web documentation sites and external tooling. It addresses the limitation that Apple DocC's native JSON output is tightly coupled to Xcode's renderer, making it difficult to reuse for custom documentation sites. The tool focuses on reconstructing method signatures, extracting complete documentation, resolving cross-references, filtering access levels, and producing a schema suitable for SDK documentation outside the Apple ecosystem.

Snippet from the RSS feed
Apple DocC is great inside Xcode, but hard to reuse elsewhere. docc2json parses DocC JSON output and converts it into a clean, structured SDK schema optimized for web documentation sites, IDE tooling, and analysis.

You might also wanna read