JSONStringer open(Scope empty,String openBracket) throws JSONException {
  if (stack.isEmpty() && out.length() > 0) {
    throw new JSONException("Nesting problem: multiple top-level roots");
  }
  beforeValue();
  stack.add(empty);
  out.append(openBracket);
  return this;
}

JSONStringer open ( Scope empty , String openBracket ) throws JSONException { if ( stack . isEmpty ( ) && out . length ( ) > 0 ) { throw new JSONException ( "Nesting problem: multiple top-level roots" ) ; } beforeValue ( ) ; stack . add ( empty ) ; out . append ( openBracket ) ; return this ; }
enters a new scope by appending any necessary whitespace and the given bracket .
