In the solemnization of marriage no particular form is required, except that the parties thereto shall assent or declare in the presence of the minister, priest, imam, rabbi, or similar official of any religious organization, or judicial officer solemnizing the same, and in the presence of at least two attending witnesses, that they take each other to be spouses.