Json extractor use

1, extract key information using json

Sometimes the interface returns the data as json data or directly to a list, you can use this easier and faster

 

 

 

 

2, $. Data.xxxxx (identity hierarchy)

Explanation: data represent the current interface json data returned in the data, that means I want a piece of content in the extract current datan json

          xxxxx represents a variable value to be extracted

 

 

Note:

If you encounter an interface to return a list of json data format, can be used .Data $ [1] which indicates the extraction of the value of the second variable ([0] in the list data to extract the current json, [1], [ 2]……)

 

 

 

 

 

3. If, within the current json extractor, chose this one, and enter the name, then this represents the value of the current extracted will be saved by default within the given variable a,

So if this time would like to extract some files, then you can continue to operate the same, but this time the extract is extracted from just inside the variables a, rather than an interface json data returned extracted

 

Guess you like

Origin www.cnblogs.com/QiKa/p/12112487.html