JSON / CFML - Looping over an array of structs

后端 未结 2 1719
忘掉有多难
忘掉有多难 2021-01-22 20:58

I\'m testing an app called Barcode Scanner Terminal for my business; I\'m looking to use it as a replacement of sorts for a timeclock.

Employees can scan a barcode or QR

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-22 21:13

    You either need to strip off the "batch=" or pass the entire thing into "evaluate()" which will set the array literal into a variable called batch. I would recommend the former option since the second could be exploited by malicious CFML content in the string.

    
    

提交回复
热议问题