title: How to transform a long number to jsonelement with gson in java
body: <pre><code>JsonElement value = entry.getValue();
  value = value.getAsLong() * 1000;
  </code></pre>
  
  <p>It will throw error that incompatible types. How to transform <code>value</code> to jsonelement?</p>