title: How parse Cassandra Row into a Java POJO type
body: <p>I am using datastax cassandra. I am trying to parse cassandra results into a java type and return as a json in the response.
  Here each row is of type VendorToken.class (with vendorId, vendorName fields)
  How to parse a row into VendorToken.class type using jackson ObjectMapper ?</p>
  
  <pre><code>ResultSet results = getToken(vendorId);
  for(Row row : results) {
      System.out.println(row);   // Output is: Row[vendorId, testVendorName]
  }
  </code></pre>
  
  <p>Or is there any otherway to parse to json? I want to return to the user in json format.  Please help.</p>