I am guessing that you have a JSON web service hosted on your web server and you would like to connect to it from a hybrid mobile app. To accomplish this you can use simple XMLHttpRequest
as per its specification or the more widely-used - jQuery AJAX
Support for web sockets can be added in your project with a custom Cordova plugin.
Please, let me know if further questions arise.