adf

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL