Documentation
¶
Index ¶
Constants ¶
View Source
const Title = "JSON Repair"
Variables ¶
This section is empty.
Functions ¶
func RepairJSON ¶
RepairJSON repairs malformed JSON string and returns the repaired version. This function is used by the CLI command.
Types ¶
type JSONRepairModel ¶
type JSONRepairModel struct {
ui.BasePagerModel
}
func NewJSONRepairModel ¶
func NewJSONRepairModel(common *ui.CommonModel) JSONRepairModel
func (JSONRepairModel) Init ¶
func (m JSONRepairModel) Init() tea.Cmd
func (*JSONRepairModel) SetContent ¶
func (m *JSONRepairModel) SetContent(content string) error
func (JSONRepairModel) View ¶
func (m JSONRepairModel) View() string
Click to show internal directories.
Click to hide internal directories.