示例#1
0
 @Override
 protected void finishText(final byte[] value) throws IOException {
   print(',');
   indent();
   print('"');
   for (final byte ch : value) encode(ch);
   print('"');
 }
示例#2
0
 @Override
 protected void startOpen(final byte[] name) throws IOException {
   if (lvl != 0) {
     print(',');
     indent();
   }
   print("[\"");
   for (final byte ch : local(name)) encode(ch);
   print('"');
   att = false;
 }