* @param c The scope to open.
* @throws JSONException If nesting is too deep.
*/
private void push(char c) throws JSONException {
if (this.top >= maxdepth) {
throw new JSONException("Nesting too deep (maximum is " + maxdepth + " levels)");
}
this.stack[this.top] = c;
this.mode = c;
this.top += 1;
}