question: public JSONBuffer closeArray ( ) { if ( stack . empty ( ) || stack . peek ( ) != Operand . ARRAY ) { throw new JSONException ( "Not in array context when closing." ) ; } removeSeparator ( ) ; buffer . append ( "]" ) ; stack . pop ( ) ; addSeparator ( ) ; return this ; }
target:  Close an array context.