N.J. Const. art. VI, § V, ¶ 4
Prerogative writs are superseded and, in lieu thereof, review, hearing and relief shall be afforded in the Superior Court, on terms and in the manner provided by rules of the Supreme Court, as of right, except in criminal causes where such review shall be discretionary.