title: How to Create InputStream Object from JsonObject
body: <p>I'm trying to figure out how one goes about retrieving the raw bytes stored in a JsonObject and turns that into an InputStream object?</p>
  
  <p>I figured it might be something like:</p>
  
  <pre><code>InputStream fis = new FileInputStream((File)json.getJsonObject("data"));
  </code></pre>
  
  <p>Granted I haven't tried that out, but just wanted to know if anyone had any experience with this and knew the preferred way to do it?</p>