Help us shape the future of Go! Take the 2026 Go Developer Survey

hjson

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 25

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](bData []byte) *T

func MustFromString

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

func MustOfBytes

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

func MustOfString

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

func MustToString

func MustToString(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