title: Jackson ObjectMapper Unexpected character - JSON is valid
body: <p>I am trying to write/read a simple class to a file using Jackson and I can't get read the file after I create it. I get </p>
  
  <blockquote>
    <p>org.codehaus.jackson.JsonParseException: Unexpected character ('.' (code 46)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
     at [Source: java.io.StringReader@f2dec59; line: 1, column: 2]</p>
  </blockquote>
  
  <p>My object is pretty straightforward; it's basically just a container for a HashMap. Here is the resulting JSON file that I checked out with JSONLint:</p>
  
  <pre><code>{
  "quaternions": {
      "10": {
          "x": 0,
          "y": 0,
          "z": 0,
          "w": 1,
          "identity": true
      },
      "11": {
          "x": 0,
          "y": 0,
          "z": 0,
          "w": 1,
          "identity": true
      },
      "12": {
          "x": 0,
          "y": 0,
          "z": 0,
          "w": 0,
          "identity": false
      }
  }
  }
  </code></pre>
  
  <p>The code I am using to read the file is as follows:</p>
  
  <pre><code>TypeReference&lt;ZeroQuaternions&gt; typeRef;
  typeRef = new TypeReference&lt;ZeroQuaternions&gt;() {};
  ZeroQuaternions readQuats = mapper.readValue("./zeroQuatTest.json", typeRef);
  </code></pre>