title: How to use placehonders in JSON
body: <p>Is there a way to use placeholders in JSON similar to Java properties file? </p>
  
  <p>I would like to replace the following property values with the JSON strings shown below. If it is possible to use placeholders, how would I be able to dynamically replace the placeholders using JS or JQuery? It would be great if this can be done without using Regex match and replace.</p>
  
  <pre><code>WelcomeMessage=Welcome {0}
  GoodBye=Goodbye,{0}. Thank you for visiting {1}
  </code></pre>
  
  <p>JSON string</p>
  
  <pre><code>   { "messages" : {
                    "WelcomeMessage":"Welcome {name}",
                    "GoodBye":"Goodbye,{name}. Thank you for visiting {siteName}"
                   }
      }
  </code></pre>
  
  <p>Thank you.</p>