jsonx

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToArr added in v0.0.17

func BytesToArr(s []byte) []any

func BytesToMap added in v0.0.17

func BytesToMap(s []byte) map[string]any

func BytesToMapE added in v0.0.17

func BytesToMapE(s []byte) (map[string]any, error)

func BytesToObj added in v0.0.17

func BytesToObj[T any](s []byte) T

func BytesToObjE added in v0.0.17

func BytesToObjE[T any](s []byte) (T, error)

func BytesToObjPtr added in v0.0.17

func BytesToObjPtr[T any](s []byte) *T

func BytesToObjPtrE added in v0.0.17

func BytesToObjPtrE[T any](s []byte) (*T, error)

func ToArr added in v0.0.17

func ToArr(s string) []any

func ToMap added in v0.0.17

func ToMap(s string) map[string]any

func ToMapE added in v0.0.17

func ToMapE(s string) (map[string]any, error)

func ToObj

func ToObj[T any](s string) T

func ToObjE

func ToObjE[T any](s string) (T, error)

func ToObjPtr

func ToObjPtr[T any](s string) *T

func ToObjPtrE

func ToObjPtrE[T any](s string) (*T, error)

func ToString

func ToString(o any) string

func ToStringE

func ToStringE(o any) (string, error)

func ToStringI

func ToStringI(o any) string

ToStringI with indent

func ToStringIE

func ToStringIE(o any) (string, error)

ToStringIE with indent

Types

This section is empty.

Jump to

Keyboard shortcuts

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