behaviors/JsonAttributeBehavior.php
public function afterFind($event)
    {
        foreach ($this->attributes as $name) {
            $this->owner->$name = $this->jsonDecodeAttribute($name);
        }
    }
public function afterFind($event)
    {
        foreach ($this->attributes as $name) {
            $this->owner->$name = $this->jsonDecodeAttribute($name);
        }
    }
Actions to take after loading the owner of this behavior.
@param CEvent $event event parameter.