private void writeJsonKeyValue ( String fieldName , String value ) throws JsonGenerationException , IOException { generator . writeStringField ( fieldName , value ) ; }
Writes the given field and the value to the JsonGenerator