Drupal Views field handler: how to unserialize an additional field data? I'm developing custom Views field handler, which renders a "Reorder" button on Commerce Line Item View. I need to access to the 'data' field, which is a serialized array.
What is the best way to get serialized field data?

/**
 * Implements Reorder Line Item button field.
 */
class commerce_reorder_lineitem_handler_field_commerce_reorder_lineitem_button extends views_handler_field {

       ...

          function construct() {
            parent::construct();
            $this-&gt;real_field = 'line_item_id';
            $this-&gt;additional_fields['line_item_id'] = 'line_item_id';
            $this-&gt;additional_fields['order_id'] = 'order_id';
            $this-&gt;additional_fields['data'] = 'data';
          }

          /**
           * Render form element placeholder.
           */
          function render($values) {
            return '&lt;!--form-item-' . $this-&gt;options['id'] . '--' . $this-&gt;view-&gt;row_index . '--&gt;';
          }

       ...


}
The views data can be altered in the handler's render() method.

  function render($values) {
    $values-&gt;commerce_line_item_data = unserialize($values-&gt;commerce_line_item_data);
    return '&lt;!--form-item-' . $this-&gt;options['id'] . '--' . $this-&gt;view-&gt;row_index . '--&gt;';
  }