Documentation ¶
Index ¶
- func Convert(i1 interface{}, i2 interface{}) error
- func ConvertJSON(b []byte) (map[string]interface{}, error)
- func GetObjectArray(obj interface{}, prop string) ([]map[string]interface{}, error)
- func GetObjectProp(obj interface{}, prop string) (reflect.Value, error)
- func GetObjectPropBool(obj interface{}, prop string, defaultVal bool) (bool, error)
- func GetObjectPropString(ctx context.Context, obj interface{}, prop string) (string, error)
- func GetRawObjectPropString(obj interface{}, prop string) (string, error)
- func GetStringArray(obj interface{}, prop string) ([]string, error)
- func InspectStrings(i interface{}, handler stringHandler) (interface{}, error)
- func SetObjectProp(obj map[string]interface{}, prop string, value interface{}) error
- func Source(i interface{}, settings map[string]interface{}) error
- func UpsertInSlice(obj map[string]interface{}, prop string, value interface{}, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertJSON ¶ added in v0.6.0
func GetObjectArray ¶
func GetObjectProp ¶ added in v1.0.1
func GetObjectPropBool ¶
func GetObjectPropString ¶
func GetRawObjectPropString ¶ added in v0.3.3
func GetStringArray ¶
func InspectStrings ¶
func InspectStrings(i interface{}, handler stringHandler) (interface{}, error)
func SetObjectProp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.