Option to find device by VID and PID

Here you are.
JsonObject.getInt("vid") didnt work, so I used JsonObject.optInt("vid"). I hope this is correct.