public function toArray($type = BasePeer::TYPE_FIELDNAME) { $flow = parent::toArray($type); $flow["FLO_STATE"] = @json_decode($flow["FLO_STATE"], true); return $flow; }