News for hackers. Stuff that matters.
Re:How to Use JSON Path by pwdisswordfishc on Friday May 03, 2024 @06:50AM (#40246223)
Only as inevitable as the dearth of interpolation/parametrized query primitives… though whether the industry has actually learnt the bitter lessons of SQL injection remains to be seen. I don’t hold my hopes up too much.
Re:How to Use JSON Path by pydry on Friday May 03, 2024 @07:52AM (#40246599)
You can just bypass the injection risk entirely by hardcoding the values as this example demonstrates:

https://news.ycombinator.com/item?id=40246089

(I'm being sarcastic, obviously. You are 100% right)