title: Downloading .json file from Json Url in Playframework
body: <p>Sorry but I am new in Playframwork </p>
  
  <p>wanted download the data from Db as json file. I am able to convert DB data and display on browser but not able to download as json file.</p>
  
  <pre><code>public Result userListToJson() {
      List&lt;User&gt; userList = User.find.all();
      return ok(Json.toJson(userList))
  }
  </code></pre>