I want to implement a search in Google for my site using the data of codified return in the JSON strings.
(http://code.google.com/apis/ajaxsearch/documentation/#fonje).
In my code, I read the results within the following code (url is an example) :
Dim client As WebClient = New WebClient
Dim urlFormat As String = ""
If String.IsNullOrEmpty(urlFormat) Then
urlFormat = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Paris%20Hilton"
End If
Dim url As Uri = New Uri(urlFormat)
Dim Search As String = client.DownloadString(url)
I want to decode it, but I obtained an error:
Dim reader As JsonTextReader = New JsonTextReader(New StringReader(Search))
reader.Rea ...
Go to the complete details ...