See attached a small sample I used to do basic testing. Some of the business logic functions on the server side might not work properly but this will give you a general ideal on the client/server exchange and you can use this code as a frame/start
For RESTful type of web services, you currently only can manual write them, no code generation tool is available yet
For the JSON part, we have new methods that allow you to map Objects or Arrays to Genero 4gl records.