jsonutil

package
v0.0.0-...-03c63d7 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidMarshalOutput = errors.New("standard JSON marshaler returned invalid output")

Functions

func Marshal

func Marshal(v any) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, v any) error

Types

type IntegrityError

type IntegrityError struct {
	ParseError error
	Type       string
	GoVersion  string
	SHA256     string
	Context    string
	ContextHex string
	Length     int
	ByteOffset int64
}

func (*IntegrityError) Error

func (e *IntegrityError) Error() string

func (*IntegrityError) Unwrap

func (e *IntegrityError) Unwrap() error

Jump to

Keyboard shortcuts

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