code: private void writePriorityField(String fieldName, Object value) throws IOException
     {
        m_writer.writeNameValuePair(fieldName, ((Priority) value).getValue());
     }
docs: Write a priority field to the JSON file.
  
  @param fieldName field name
  @param value field value