package
5.2.3
Repository: https://github.com/mgenware/go-packagex.git
Documentation: pkg.go.dev

# Functions

GetArrayOrDefault retrieves the value for the given key in the dictionary, or nil if it does not exist.
GetArrayOrEmpty retrieves the value for the given key in the dictionary, or an empty dictionary if it does not exist.
GetBoolOrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetDictOrDefault retrieves the value for the given key in the dictionary, or nil if it does not exist.
GetDictOrEmpty retrieves the value for the given key in the dictionary, or an empty dictionary if it does not exist.
GetFloat64OrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetInt64OrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetIntOrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetStringOrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetUint64OrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
GetUintOrDefault retrieves the value for the given key in the dictionary, or a default value if it does not exist.
UnmarshalBytesToDict unmarshals the given bytes into a dictionary of type `map[string]interface{}`.