View definition


Defined in


Gets the value at key path and attempts to typecast the value into an array of objects. Returns error if the value is not a json array or if any of the contained objects are not objects. Example:

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

GetObjectArray is referenced in 15 repositories