title: How to read properties with special characters from application.yml in springboot
body: <p>application.yml</p>
  
  <pre><code>mobile-type:
    mobile-codes:
      BlackBerry: BBSS
      Samsung: SAMS
      Samsung+Vodafone: SAMSVV
  </code></pre>
  
  <ol>
  <li><p>While reading (Samsung+Vodafone)key from application yml file , we are getting. 
  concatenated String format as 'SamsungVodafone' .</p></li>
  <li><p>Morever we heve tried "Samsung'/+'Vodafone": SAMSVV but the result was same and we have tried other symbol such as '-' so its working fine .</p></li>
  <li><p>For reading key and value from application yml file . we have written below code.</p></li>
  </ol>
  
  <pre><code>import java.util.Map;
  
  import org.springframework.boot.context.properties.ConfigurationProperties;
  import org.springframework.stereotype.Component;
   @ConfigurationProperties(prefix = "mobile-type")
      @Component
      public class mobileTypeConfig {
  
  
          Map&lt;String, String&gt; mobileCodes;
  
          public Map&lt;String, String&gt; getMobileCodes() {
              return mobileCodes;
          }
  
          public void setMobileCodes(Map&lt;String, String&gt; mobileCodes) {
              this.mobileCodes= mobileCodes;
          }
  }
  </code></pre>
  
  <p>Note :Spring Boot Version 
  2.0.6.RELEASE</p>