2017-06-03 70 views
0

這是我有:提琴手的Jscript JSON.JsonDecode

public static var users=Fiddler.WebFormats.JSON.JsonDecode('[{key:"20048039", value:"Some Name"}, {key:"204130"...);

這就是我想要的:

users.JSONObject[0].keyusers.JSONObject[0].value

這是我使用的調查:

FiddlerApplication.Log.LogFormat('output: {0}', users.JSONObject[0]);

輸出:System.Collections.Hashtable

我知道C#,但在FiddlerScript我需要一些幫助來讀取裏面users這些值。

我該在這裏做什麼?

謝謝。

回答

0

好吧,我找到了解決辦法由自己(ArrayList中,哈希表):

users.JSONObject[0]["key"])