code: private void writeBooleanField(String fieldName, Object value) throws IOException
     {
        boolean val = ((Boolean) value).booleanValue();
        if (val)
        {
           m_writer.writeNameValuePair(fieldName, val);
        }
     }
docs: Write a boolean field to the JSON file.
  
  @param fieldName field name
  @param value field value