@Override
  public void write(JsonWriter writer, SpeechWordConfidence speechWordConfidence) throws IOException {
    writer.beginArray();

    writer.value(speechWordConfidence.getWord());
    writer.value(speechWordConfidence.getConfidence());

    writer.endArray();
    writer.flush();
  }
@ Override public void write ( JsonWriter writer , SpeechWordConfidence speechWordConfidence ) throws IOException { writer . beginArray ( ) ; writer . value ( speechWordConfidence . getWord ( ) ) ; writer . value ( speechWordConfidence . getConfidence ( ) ) ; writer . endArray ( ) ; writer . flush ( ) ; }
/*
(non-Javadoc)
@see com.google.gson.TypeAdapter#write(com.google.gson.stream.JsonWriter, java.lang.Object)