https://bz.apache.org/bugzilla/show_bug.cgi?id=64769

--- Comment #2 from [email protected] ---
This is a very small portion of the JSON object that I am trying to get quoted
values out of.  The entire structure is many hundreds of these "blocks".  I am
trying to use the JSON Extractor to get all of the macaddress values into a
single comma separated variable.

[{"rfstatsts":1600794777746,"macaddress":"000020033783","statusValue":{"activeCmtsId":"blah-blah-blah","lastScanTs":1600796295825,"regStatus":6,"statusSource":"POLL","onlineState":"ONLINE"}}]

In the JSON Extractor I name the variable (macAddresses) and the JSON Path
expression ($..macaddress), select -1 for the Match No. and check the "Compute
concatenation var box.

The result of this is: 
macAddresses_ALL=000020033783,theNextMAC,andTheNextMAC,etc

and, what I am looking for is:
macAddresses_ALL=["000020033783","theNextMAC","andTheNextMAC","etc"]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to