/** Begins an array value */ public JSONWriter beginArrayValue() throws IOException { beginFieldOrArrayValue(); return this; }
/** Begins an object field */ public JSONWriter beginField(String fieldName) throws IOException { beginFieldOrArrayValue(); write("\"" + fieldName + "\":"); return this; }