title: Most Efficient way to convert jdbctemple result to json?
body: <p>One Way is to convert the <code>List&lt; Map &lt; String, Object&gt;&gt;</code> into <code>List(object);</code> Given Below</p>
  
  <pre><code>List&lt;Map&lt;String, Object&gt;&gt; ls = jdbcTemplate.queryForList(query);
  
  List&lt;Users&gt; ls_o =  new ArrayList&lt;&gt;(ls_o);
          for (Map&lt;String, Object&gt; row : ls) {
          ls_o.add(row);
  
          }
   return new ResponseEntity&lt;List&lt;User&gt;&gt;(ls_o, HttpStatus.OK);
  </code></pre>
  
  <p>Is there any effiecient way to directly convert the jdbcTemplate result into json object?</p>