title: Cassandra DB: Parsing an Instant from Cassandra's Timestamp in Json fails
body: <p>Lets say I've an one-column-table like this:</p>
  
  <pre><code>CREATE TABLE test (
  id int,
  time timestamp,
  PRIMARY KEY(id)
  );
  </code></pre>
  
  <p>Now I insert data per Json:</p>
  
  <pre><code>INSERT INTO test JSON '{"id":1,"time":"2018-01-12T15:06:02.753Z"}'
  </code></pre>
  
  <p>The result would look like this:</p>
  
  <pre><code>id        time
  1         2018-01-12 15:06:02.753+0000
  </code></pre>
  
  <p>Now I select the entry again as Json:</p>
  
  <pre><code>SELECT JSON * from test where id=1;
  </code></pre>
  
  <p>The resulting Json would look like this:</p>
  
  <pre><code>{  
     "id":1,
     "time":"2018-01-12 15:06:02.753+0000"
  }
  </code></pre>
  
  <p>If I now want to parse the field "time" in the json above to an Instant, it fails because of a whitespace:</p>
  
  <pre><code>Exception in thread "main" java.time.format.DateTimeParseException: Text '2018-01-12 10:23:00.461Z' could not be parsed at index 10
  </code></pre>
  
  <p>I could replace the whitespace-Charakter with a 'T'-Delimiter, but is there an better way to parse an Instant?</p>