json

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

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

func UnmarshalRead

func UnmarshalRead(r io.Reader, v any) error

Types

type Location

type Location types.Location

Location is wrap of types.Location. This struct is required when you need to detect location of your object from json file.

func (*Location) SetLocation

func (l *Location) SetLocation(location types.Location)

type ObjectLocation

type ObjectLocation interface {
	SetLocation(location types.Location)
}

ObjectLocation is required when you need to save Location for your struct.

Jump to

Keyboard shortcuts

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