public JSONBuffer appendKeyArray(Object key){
  if (stack.empty() || stack.peek() != Operand.HASH) {
    throw new JSONException("Appending key-value outside of hash context.");
  }
  addQuotedString(key);
  buffer.append(":");
  buffer.append("[");
  stack.push(Operand.ARRAY);
  return this;
}

public JSONBuffer appendKeyArray ( Object key ) { if ( stack . empty ( ) || stack . peek ( ) != Operand . HASH ) { throw new JSONException ( "Appending key-value outside of hash context." ) ; } addQuotedString ( key ) ; buffer . append ( ":" ) ; buffer . append ( "[" ) ; stack . push ( Operand . ARRAY ) ; return this ; }
append a key an start a new array
