json2toon

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Title = "JSON to TOON Converter"

Variables

This section is empty.

Functions

func Convert

func Convert(jsonContent string) (string, error)

func ConvertWithOptions

func ConvertWithOptions(jsonContent string, opts toon.EncodeOptions) (string, error)

Types

type JsonToonModel

type JsonToonModel struct {
	ui.BasePagerModel
	// contains filtered or unexported fields
}

func NewJsonToonModel

func NewJsonToonModel(common *ui.CommonModel) JsonToonModel

func (JsonToonModel) Init

func (m JsonToonModel) Init() tea.Cmd

func (*JsonToonModel) SetContent

func (m *JsonToonModel) SetContent(content string) error

func (JsonToonModel) Update

func (m JsonToonModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (JsonToonModel) View

func (m JsonToonModel) View() string

Jump to

Keyboard shortcuts

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