Help! processing interface with Json of Philips hue

Does anyone know how processing interface with Philips hue Json to control the light?
I find a sample code online but it seems not working.

And I also find another way of doing it. it seems that I need to use Eclipse to interface with the light API. Is that the only way I can do it?

Check this A universal ambilight

Based on the github source code, he is just sending some data using a server/client software, similar to an http request. In your case, you need to check the documentation of your device to see if they provide details how you could interface with it. Notice the github is about 4 years old. Although it is old, I doubt they have changed that much… Do a bit of research online about your device and see if you can get more leads.