title: Use JSON data with a colon in Jquery Ajax call
body: <p>I have json that looks like the following although this is only the beginning of it, not the whole lot.</p>
  
  <pre><code>{"ns1:AmplifyResponse":{"AmplifyReturn":{"Topics":{"Domains":null,"TopTopics":[{"Topic":{"Name":"loo","Value":5.00},"
  </code></pre>
  
  <p>I am doing this jquery ajax call to get it, again its trimmed:</p>
  
  <pre><code> $.ajax ({
      type: "POST",
      url: 'ajax/openampcheck.php',
      dataType: 'json',
      async: true,
      data: {"inputtext": inputmaintext},
      success: function(msg){
  $('#oaresult').html(msg.ns1:AmplifyResponse.AmplifyReturn.Topics.TopTopics[1].Topic.Name);
  ....
  </code></pre>
  
  <p>in Chrome console this given me an error... Uncaught SyntaxError: Unexpected token . 
  for the last line, which seems to be something to do with the colon here ...</p>
  
  <pre><code>ns1:AmplifyResponse
  </code></pre>
  
  <p>if i wrap it in quotes though, i.e. </p>
  
  <p><code>$('#oaresult').html(msg."ns1:AmplifyResponse".AmplifyReturn.Topics.TopTopics[1].Topic.Name)</code>;</p>
  
  <p>i then get this error:</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected identifier 
  </code></pre>
  
  <p>How should I fix it?</p>