title: Is there any subsitute of json_encode(PHP) in coldfusion?
body: <p>I have used ColdFusion <code>SerializeJSON(queryname)</code> to convert the my query result in json format and got the result below:<br><br></p>
  
  <pre><code>{ 
    "COLUMNS":["ID","TAG","TAG_DESCRIPTION","TYPE"]
    , "DATA": [1,"PHP","PHP is an open-source server-side scripting language widely used in web development.","programming"]
  }
  </code></pre>
  
  <p>But I want json this format, which is what PHP <code>json_encode($rows)</code> returns:<br>
      <br></p>
  
  <pre><code>[ { "ID":"1"
      , "0":"1"
      , "tag":"php" 
      , "1":"php","type":"programming"
      , "2":"programming"
      , "tag_description":"PHP is an open-source server-side scripting language widely used in web development."
      , "3":"PHP is an open-source server-side scripting language widely used in web development."
     } 
  ]
  </code></pre>
  
  <p>Is there any substitute of <code>json_encode(PHP)</code> in ColdFusion? or do I have to create this json format manually?</p>
  
  <p>Thanks</p>