jsonshared

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package jsonshared holds value coercion helpers shared by the ndjson and jsonarray packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoerceValue

func CoerceValue(v any) any

CoerceValue attempts to convert string values to native JSON types (number, boolean, null) for cleaner JSON output.

func ValueToString

func ValueToString(v any) string

ValueToString converts a JSON value to its string representation for the tabular interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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