title: IBM Watson Assistant: How to obtain and print JSON using ASP.NET SDK?
body: <p>I have successfully fetched data from the IBM Watson Assistant Api using their ASP.NET SDK (which comes equipped with helper functions), but using Response.Write with the data prints out the data as a string and not json.</p>
  
  <pre><code>AssistantService assistant = new AssistantService(
      username, 
      password,
      version_date
  );
  var results = assistant.ListLogs(workspace_id);
  Response.Write(results);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/bQ0O4.png" alt="Visual view of the printed data, which is in string (which I want in json)"></p>
  
  <p>The other SDKs I have tried are the NodeJs and Python ones, for NodeJs I have both printed it out on the browser and console, Python only on console and these 3 scenarios the data has been printed out correctly as json, for e.g. this is some of the data logged in Python:</p>
  
  <p><img src="https://i.stack.imgur.com/bgC5n.png" alt="data printed in console (python)"></p>
  
  <p>Would anyone know why I have this issue? Is it because of Response.Write(?) (Not sure if it messes up the json formatting or something), because the Nodejs and Python SDKs work I am not sure what's wrong when I implement it in ASP.NET.</p>
  
  <p>The IBM Watson Assistant API SDK documentation for ASP.NET is here:
  <a href="https://github.com/watson-developer-cloud/dotnet-standard-sdk" rel="nofollow noreferrer">https://github.com/watson-developer-cloud/dotnet-standard-sdk</a></p>
  
  <p>I would really appreciate any kind of help, this is the second day I have been stuck on this issue, I have to work with the data but if it is fetched as a string I can't do anything with it.</p>