4546474849505152535455
out.startObject() ; out.key(kHead) ; out.startObject() ; out.finishObject() ; out.pair(kBoolean, result) ; out.finishObject() ; out.finishOutput() ; IO.flush(outStream) ;
6364656667686970717273
JSWriter w = new JSWriter() ; w.startOutput() ; w.startObject() ; w.pair("key1", "value1") ; w.key("key2") ; w.startArray() ; w.arrayElement("x") ; w.arrayElement("y") ;
7374757677787980818283
w.arrayElement("y") ; w.finishArray() ; w.key("key3") ; w.startObject() ; w.pair("key4", "value4") ; w.finishObject() ; w.finishObject() ; w.finishOutput() ;