我有一个响应正文,我相信它是一个看起来像这样的数组:
{“ id”:982,“ form_stage”:“ 1”,“ customer_hash”:“ fffae165253f494a95bdb753ca87716c”}
在这种情况下,我想获取“ customer_hash”,并且尝试了$ .. customer_hash $ .customer_hash的每个组合,等等,但是它们都不起作用,因为这不是以“ response”或“ result”开头它是一个数组而不是对象(?)。
谁能告诉我要获取参数“ customer_hash”的JSONPath映射是什么?
答案 0 :(得分:0)
尝试使用:
$.customer_hash
输出:
[
"fffae165253f494a95bdb753ca87716c"
]