title: format dynamic json string from model for display in .net view
body: <p>so I have a json string within my model data that is sent to the view for display in a table.</p>
  <p>I am wanting to be sure it is displayed in a formatted fashion instead of one line string.</p>
  <p>My research has led me to find this to be the cleanest method...</p>
  <pre><code>string json = JsonConvert.SerializeObject(account, Formatting.Indented);
  </code></pre>
  <p>however, within the view, once my value is extracted to @item.requestExample (the json string to be formatted), can I can call this c# to return the formatted string to the html?</p>
  <p>btw, I've tried a few other methods just js, but every time the @item.requestExample is used within the , the inspect/console complains of the invalid tokens of the string since the string it an html representation that is using &amp;quote; instead of &quot;'s.</p>
  <p>tia</p>