This JSON snippet is part of a WooCommerce order, extracted from the APIv2 get_order() function. The [meta] holds product variation data chosen by the customer.
[meta] => Array (
[0] => stdClass Object ( [key] => pa_size [label] => Size [value] => Large )
[1] => stdClass Object ( [key] => pa_color [label] => Choose Color [value] => Black )
How do I search the stdClass object for a particular [key] and return its corresponding [value]?