src/Json.php
public function update(array $data)
    {
        $this->attributes = new Collection(array_merge($this->attributes->toArray(), $data));

        return $this->save();
    }
public function update(array $data)
    {
        $this->attributes = new Collection(array_merge($this->attributes->toArray(), $data));

        return $this->save();
    }
public function update ( array $ data ) { $ this -> attributes = new Collection ( array_merge ( $ this -> attributes -> toArray ( ) , $ data ) ) ; return $ this -> save ( ) ; }
Update json contents from array data.

@param array $data

@return bool
Update json contents from array data .