jmap

package
v6.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 1 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 map[string]any

Map represents a simple JSON map.

func (Map) GetBool

func (m Map) GetBool(key string) (bool, error)

GetBool retrieves a value from the map as a bool.

func (Map) GetInt

func (m Map) GetInt(key string) (int, error)

GetInt retrieves a value from the map as an int.

func (Map) GetMap

func (m Map) GetMap(key string) (Map, error)

GetMap retrieves a value from the map as a map.

func (Map) GetString

func (m Map) GetString(key string) (string, error)

GetString retrieves a value from the map as a string.

Jump to

Keyboard shortcuts

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