title: Escaping a dot in a Map key in Yaml in Spring Boot
body: <p>I have a following yml config:</p>
  
  <pre><code>foo:
    bar.com:
      a: b
    baz.com:
      a: c
  </code></pre>
  
  <p>With a following class Spring tries to inject map with keys 'bar' and 'baz', treating dots as separator:</p>
  
  <pre><code>public class JavaBean {
      private Map&lt;String, AnotherBean&gt; foo;
  (...)
  }
  </code></pre>
  
  <p>I have tried quoting the key (i.e. 'bar.com' or "bar.com") but to no avail - still the same problem. Is there a way around this?</p>