Exception:解析表达式出错。
内部错误:Unexpected character while parsing path indexer: 卡
原始表达式:
string path = "role[" + {角色index} + "].template[*].name"; // 路径
JObject o = JObject.Parse({权重表});
List<JToken> jTokens = o.SelectTokens(path).ToList();
string res;
for(int i = 0; i < jTokens.Count; i++){
res += jTokens[i] + "|" + i + "\n";
}
res
已复制到剪贴板,请在Quicker面板的空白按钮上点右键粘贴。
已复制到剪贴板。