jsonx

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package jsonx provides additional functionality for encoding and decoding JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(value any) []byte

Bytes is a type that represents a byte slice.

func Prettify added in v0.1.22

func Prettify(value any) ([]byte, error)

Prettify returns a pretty-printed JSON string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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