jstruct

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONStruct

type JSONStruct map[string]interface{}

func (JSONStruct) Get

func (js JSONStruct) Get(key string) interface{}

func (JSONStruct) GetBool

func (js JSONStruct) GetBool(key string) (bool, bool)

func (JSONStruct) GetFloat64

func (js JSONStruct) GetFloat64(key string) (float64, bool)

func (JSONStruct) GetFloat64Slice

func (js JSONStruct) GetFloat64Slice(key string) []float64

func (JSONStruct) GetInt

func (js JSONStruct) GetInt(key string) (int, bool)

func (JSONStruct) GetIntSlice

func (js JSONStruct) GetIntSlice(key string) []int

func (JSONStruct) GetMap

func (js JSONStruct) GetMap(key string) (map[string]interface{}, bool)

func (JSONStruct) GetSlice

func (js JSONStruct) GetSlice(key string) []interface{}

func (JSONStruct) GetString

func (js JSONStruct) GetString(key string) (string, bool)

func (JSONStruct) GetStringSlice

func (js JSONStruct) GetStringSlice(key string) []string

func (JSONStruct) Json

func (js JSONStruct) Json() string

Jump to

Keyboard shortcuts

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