As @George has already mentioned, Server Connect already exposes your selected data in a ready to go JSON format. This is useful if you need to access your data from another service.
If you need a full blown RESTful API, I’d take a look at one of these: