private Scope peek ( ) throws JSONException { if ( this . stack . isEmpty ( ) ) { throw new JSONException ( "Nesting problem" ) ; } return this . stack . get ( this . stack . size ( ) - 1 ) ; }
Returns the value on the top of the stack .