Need sample code for JSON relay control in RELY-8-POE-EN?

The RELY-8-POE-EN.pdf document (below) describes using JSON messages to set and get relay states. I am trying to get this to work but I am unsure how. Is there sample code?
2025-07-24 16:09:54
Tonny12138
This open source protocal is for advanced JSON users, if you know JSON well, you could use the JSON command by connecting the Relay Controller to TCP port2000. If not, here is an official introduce about JSON, and you could google more tutorial about JSON if you want to develope your own software to use this relay controller. BTW, we have passed test on Telnet (PuTTY) and TCP/IP Net Assistant.
