Documentation
¶
Overview ¶
Package adf flattens Atlassian Document Format (ADF) JSON to plain text.
The functions operate on json.RawMessage and do not import Jira types, so both the store (FTS body) and the Jira client can share them without crossing the store/jira firewall (docs/ARCHITECTURE.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlainText ¶
func PlainText(raw json.RawMessage) string
PlainText flattens an ADF document to plain text: it is what FTS indexes and what makes a repro-steps custom field searchable. A field that holds a bare string (the older wiki-markup shape) passes through unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.