public function getValueAttribute() { $json = $this->json_value ?: '{}'; $this->_value = $this->_value ?: new LiveFieldValue($json, $this->id, 'field'); return $this->_value; }