public function store($value, array $attribute) { $value = parent::store($value, $attribute); if ($this->isNull($value)) { return; } return \Owl\safe_json_encode($value, JSON_UNESCAPED_UNICODE); }
public function store($value, array $attribute) { $value = parent::store($value, $attribute); return $value ? json_encode($value, JSON_UNESCAPED_UNICODE) : null; }