Help us shape the future of Go! Take the 2026 Go Developer Survey

json

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Title = "JSON Formatter"

Variables

This section is empty.

Functions

func FormatJSON

func FormatJSON(content string) string

Types

type JsonModel

type JsonModel struct {
	ui.BasePagerModel
}

func NewJsonModel

func NewJsonModel(common *ui.CommonModel) JsonModel

func (JsonModel) Init

func (m JsonModel) Init() tea.Cmd

func (*JsonModel) SetContent

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

func (JsonModel) Update

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

func (JsonModel) View

func (m JsonModel) View() string

Jump to

Keyboard shortcuts

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