public function unserialize($data)
    {
        $value = @json_decode($data, true);
        
        if (!$value) {
            $value = array();
        }

        $this->append($value);
    }
public function unserialize($data)
    {
        $value = @json_decode($data, true);
        
        if (!$value) {
            $value = array();
        }

        $this->append($value);
    }
public function unserialize ( $ data ) { $ value = @ json_decode ( $ data , true ) ; if ( ! $ value ) { $ value = array ( ) ; } $ this -> append ( $ value ) ; }
Instantiate the json attribute with JSON values.

@param string $data The string represntation of a json value

@return AnDomainAttributeJson
Instantiate the json attribute with JSON values .