jsonmap

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map[T any] struct {
	// contains filtered or unexported fields
}

func NewMap

func NewMap[T any]() *Map[T]

func (*Map[T]) Children

func (m *Map[T]) Children() map[string]*Map[T]

func (*Map[T]) Get

func (m *Map[T]) Get(key string) (*Map[T], bool)

func (*Map[T]) MarshalJSON

func (m *Map[T]) MarshalJSON() ([]byte, error)

func (*Map[T]) Set

func (m *Map[T]) Set(key string, value T)

func (*Map[T]) UnmarshalJSON

func (m *Map[T]) UnmarshalJSON(b []byte) error

func (*Map[T]) Value

func (m *Map[T]) Value() (T, bool)

Jump to

Keyboard shortcuts

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