[javascript]
<script language="jscript" runat="server">
Array.prototype.get = function(x) { return this[x]; };
function parseJSON(strJSON) { return eval("(" + strJSON + ")"); }
</script>
[/javascript]
[html]
Dim apiUrl, http, obj
apiUrl = "https://api.com/api"
Set http = CreateObject("MSXML2.ServerXMLHTTP")
http.Open "POST", apiUrl, False
http.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
http.Send "p1=" & p1 & "&p2=" & p2
Set obj = parseJSON(http.ResponseText)
Response.Write obj.get(0).xxx
[/html]
參考:http://chiming1128.blogspot.tw/2011/09/aspjson.html