title: json_encode for asp
body: <p>I need to convert a json return from php to asp classic. How can I do that?</p>
  
  <p>In index.php</p>
  
  <pre><code>&lt;script&gt;
  function (){
      $.ajax({
         url: ajax.php,
         dataType: "json",
         data: {
         ROWID : rowid
         },
         success: function(data){
           alert(data[0]);
         }                    
         });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>In ajax.php</p>
  
  <pre><code>echo json_encode(array(
      "TRUE"
  ));
  return;
  </code></pre>
  
  <p>I will be getting a java alert messege 'TRUE'</p>
  
  <p>what shall be in asp?</p>
  
  <pre><code>  Response.Write json_encode(array(
          "TRUE"
      ));
  </code></pre>
  
  <p>doesn't work. can't find a full solutuion to it. any ideas how shall I do it in asp classic?</p>