java - using REST to invoke Google Custom Search API -
i need use google custom search count of word google. have created google custom search engine , followed steps described in guide: https://developers.google.com/custom-search/v1/using_rest how can count response data? secondly, how can convert response jsonobject using java? also google api free? from link provided ( https://developers.google.com/custom-search/v1/using_rest ) important: json/atom custom search api requires use of api key, can google apis console. the api provides 100 search queries per day free . if need more, may sign billing in console. if custom search engines can serve in json format can set request header of accept: application/json