gjson

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBytes

func FromBytes[T any](bData []byte) (*T, error)

func FromString

func FromString[T any](str string) (*T, error)

func MustFromBytes

func MustFromBytes[T any](ctx context.Context, bData []byte) *T

func MustFromString

func MustFromString[T any](str string) *T

func MustOfBytes

func MustOfBytes[T any](ctx context.Context, ptr *T, bData []byte)

func MustOfString

func MustOfString[T any](ctx context.Context, ptr *T, str string)

func MustToBytes

func MustToBytes(ctx context.Context, obj interface{}) []byte

func MustToString

func MustToString(ctx context.Context, obj interface{}) string

func OfBytes

func OfBytes[T any](ptr *T, bData []byte) error

func OfString

func OfString[T any](ptr *T, str string) error

func ToBytes

func ToBytes(obj interface{}) ([]byte, error)

func ToString

func ToString(obj interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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