Let $z = \frac { 1 - \mathrm { i } } { 1 + \mathrm { i } } + 2 \mathrm { i }$, then $| z | =$ A. 0 B. $\frac { 1 } { 2 }$ C. 1 D. $\sqrt { 2 }$