Hi Mr Michal,
Calling JSON from RESTful WebServices isn't committed yet because it isn't carefully verified. But in a simple way, you can create a new operator as you want and add the code like:
//static String getGeocodingAPIOnline(String address, String sensor)
// {
String url = "
https://maps.googleapis.com/maps/api/geocode";
Client client = Client.create();
client.setFollowRedirects(true);
WebResource resource = client.resource(url);
MultivaluedMap<String,String> params = new MultivaluedMapImpl();
params.add("address", address);
params.add("sensor", sensor);
String res = resource.path("json").queryParams(params).get(String.class);
Because the JSON data structure is so open, then a its parser to GAMA data structure is not really easy, so you can code it if needed.