docling-project / docling-project/docling-java

docling-core: export DoclingDocument to markdown/text locally (Python parity)

Open
#557 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
134
Forks
26
Avg merge
12h 25m
Merged PRs (30d)
45

Description

DoclingDocument in Java deserializes from JSON, but there is no local export API (`export_to_markdown()` / `text`) like in Python.

We persist Docling JSON as canonical artifact and need text/md in later (async) document processing stages (moderation, etc.) without re-parsing the original file and without a Serve round-trip (JSON_DOCLING → md|text works but adds HTTP coupling).

Proposal: add local export in docling-core, e.g. `toMarkdown()` / `toText()`.

Use case: offline/async workers reading archived JSON only.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.