Sample Java code to show how to access Device42 API's with Java and utilize the result as JSON objects
#Dependencies JDK 1.7 JSON.simple (https://code.google.com/p/json-simple/)
#Usage ###Compile javac -cp .:/pathto/json-simple-1.1.1.jar Device42API.java ###Run java -cp ".:/pathto/json-simple-1.1.1.jar" Device42API device_42_url device42_user device42_password ###Example java -cp ".:/pathto/json-simple-1.1.1.jar" Device42API http://192.168.244.131/ "username" "password"