View definition


Defined in


Gets the value at key path and attempts to typecast the value into an array. Returns error if the value is not a json array. Consider using the more specific Get<Type>Array() since it may reduce later type casts. Example:

friends, err := GetValueArray("person", "friends")
for i, friend := range friends {
	... // friend will be of type Value here

GetValueArray is referenced in 4 repositories