json

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package json registers the JSON renderer with the stripes registry. Import for side effects to enable application/json support:

import _ "github.com/firetiger-oss/stripes/json"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(w io.Writer, r io.Reader, styles *stripes.Styles)

Render writes a styled rendering of the JSON read from r to w. Each top-level value is pretty-printed with the configured indent; non-string scalars never wrap.

Types

This section is empty.

Jump to

Keyboard shortcuts

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