title: Replace a variable in a JSON string
body: <p>I have a JSON file containing Dialogue for an RPG I'm making, and I'd like to be able to place the players chosen name in it as it comes up. For example if the player's name was a </p>
  
  <pre><code>public string playerName = "Leon";
  </code></pre>
  
  <p>and in my JSON I had</p>
  
  <pre><code>"NPCIDxxGreeting":{
      "text": "Yo, _____, what's up?"
  }
  </code></pre>
  
  <p>I'd like to be able to insert "Leon" wherever that blank space showed up in the dialogue JSON. Is there any way to do this?</p>