public function get{%field%}Attr($value, $row) { return !$value ? [] : json_decode($value, true); }