title: Convert json payload to a string
body: <p>Apologies if this seems basic, but I have the following json</p>
  <pre><code>  {
      &quot;id&quot;: &quot;71e590d2-ab61-47ae-9ada-b9cedbf309bc&quot;,
      &quot;user_firstname&quot;: &quot;Tommy&quot;,
      &quot;user_lastname&quot;: &quot;Tester&quot;,
      &quot;user_displayname&quot;: &quot;Tommy Tester&quot;,
      &quot;user_primary_email&quot;: &quot;tommy@tester.com&quot;
    }
  </code></pre>
  <p>I just want to convert this to a string in a C# function that is accepted by our system
  so</p>
  <pre><code>&quot;{\&quot;id\&quot;:\&quot;71e590d2-ab61-47ae-9ada-b9cedbf309bc\&quot;,\&quot;user_firstname\&quot;:\&quot;Tommy\&quot;,\&quot;user_lastname\&quot;:\&quot;Tester\&quot;,\&quot;user_displayname\&quot;:\&quot;Tommy Tester\&quot;,\&quot;user_primary_email\&quot;:\&quot;tommy@tester.com\&quot;}&quot;
  </code></pre>
  <p>I can do it manually using this online tool
  <a href="https://tools.knowledgewalls.com/jsontostring" rel="nofollow noreferrer">https://tools.knowledgewalls.com/jsontostring</a></p>