public function __construct($json, $fieldId, $type)
{
$this->__ = new \StdClass();
$this->__->json = $json;
$this->__->id = $fieldId;
$this->__->type = $type;
$this->__->value = '';
$this->__->values = (array) json_decode($this->__->json);
$this->extract();
}