title: Jackson ObjectMapper with '/' Character as JSON key
body: <p><strong>JSON Setup (my-file.json):</strong></p>
  
  <pre><code> { ":x.y\/a" : "some value" }
  </code></pre>
  
  <p><strong>ObjectMapper:</strong></p>
  
  <pre><code>ObjectMapper om = new ObjectMapper();
  om.configure( JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true );
  Map value = om.readValue( getClass().getResource( "/my-file.json" ).getFile() , HashMap.class );
  </code></pre>
  
  <p>I have also tried using JsonParser.Feature.ALLOW_COMMENTS (which doesn't really make sense but I thought what the heck).  However, regardless of how I try to configure this, I can seem to read the JSON into the Map.  </p>
  
  <p><strong>Exception</strong></p>
  
  <pre><code>com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)
  at [Source: java.io.StringReader@31c74456; line: 1, column: 2]
  at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1524)
  at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:557)
  at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:475)
  at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipComment(ReaderBasedJsonParser.java:1725)
  at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipWSOrEnd(ReaderBasedJsonParser.java:1708)
  at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:562)
  at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2926)
  at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2873)
  at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
  </code></pre>
  
  <p>Any thoughts on how I could configure this would be appreciated.  As a temporary workaround I've used the Gson library which parses this same file just fine.  </p>
  
  <pre><code>new Gson().fromJson( new FileReader( getClass().getResource( /my-file.json ).getFile() ), HashMap.class );
  </code></pre>
  
  <p>While this does work, I prefer Jackson as we use it everywhere else in our stack (nothing against Gson, just don't want to add it as a dependency right now).</p>