docc2json

docc2json

docc2json transforms Apple's DocC JSON output into a clean, structured SDK schema, perfect for web documentation, IDE tooling, and code analysis. Easily reuse your Swift documentation across different platforms and projects with this powerful parser.

Key features

  • Parses DocC JSON output
  • Generates structured SDK schemas (class, struct, actor)
  • Extracts type names, access modifiers, and declarations
  • Handles conformances, inheritance, properties, methods, initializers, and descriptions
  • Supports code examples with titles, return values, and exception documentation

Best for

Best for

  • Software Engineers
  • Swift Developers
  • Documentation Teams

Not ideal for

  • Large-scale, non-Swift documentation projects
  • Users unfamiliar with Swift or JSON parsing
Other Software Engineering Ios Github Launched 8 months ago

Gallery

/

Frequently asked questions

docc2json is a tool that parses Apple's DocC JSON output and transforms it into a structured SDK schema. This allows you to reuse your Swift documentation in various environments.
docc2json utilizes JSON parsing techniques to extract information from the DocC JSON file. It then generates a new schema optimized for web documentation sites and other applications.
docc2json supports parsing class, struct, and actor definitions, extracting detailed information like access modifiers, declarations, and documentation objects. It also handles code examples and return value documentation.
docc2json can handle complex Swift code, including nested structures, protocols, and inheritance. However, extremely large or convoluted DocC files may require optimization.
docc2json primarily outputs a structured SDK schema, typically in JSON or YAML format, depending on the target platform's requirements.

Made by

Alternatives

View all

Plannotator

by Michael
AI

Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with agent...

Related products

God’s Eye View

by Bilawal Sidhu
Other 1 vote

A spy satellite simulator in your browser - then you realize the sources are public and the data is real. Photorealistic 3D globe with live...

Neo

by Hugh Howey
Other 1 vote

NEO was created after using lots of writing tools and never quite finding "the one." NEO doesn't try to do everything; it just wants you to...

Elser AI

by Klaus - WONG CHI HUNG
Other 1 vote

Elser AI helps creators turn ideas into full anime story videos. Just enter an idea, Elser AI could create long-form videos with consistent...

OnlyHate

by Gio Staniell Belolo
Other 5.0(1 review)

Hides the 'Great job!' so you can focus on the 'Here's what's broken. A Chrome Extension that hides positive comments and shows you only the...

Overguide

by Bekjon Ibragimov
Other 1 vote

Overguide is an AI-powered overlay that gives you instant help while you play. Overguide appears on top of your game and lets you ask anythi...

LightBuddy

by Guilherme Rambo
Other 1 vote

LightBuddy lives in your Mac’s Menu Bar and allows you to add an adjustable ring light around your display. Unlike the built-in feature Appl...