title: How to escape a colon inside a datetime value in a JSON string
body: <p>I need to instantiate a JSONObject with a string that I receive from an external source. The string contains a datetime value, which in turn contains a colon. 
  When I try to create an instance of the JSONObject, I get an error, it looks like JSON does not like the colon in the middle of the date time value.</p>
  
  <p>Here is a code snippet:</p>
  
  <pre><code>@Test
  public void testGetDate()
  {
      String jsonStr = "{\"sDate\":2013-06-15T09:30:09+0000}";
      try
      {
          JSONObject jsonObject = new JSONObject(jsonStr);
          System.out.println(jsonObject.get("sDate"));
  
      } catch (JSONException e)
      {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>The error I get is:</p>
  
  <pre><code>org.json.JSONException: Expected a ',' or '}' at 23 [character 24 line 1]
  </code></pre>
  
  <p>Has anyone encountered this ? Is there some way to escape the colon?</p>