title: trying to ge google plus one count and getting 'unable to parse json error 32700'
body: <p>I am trying to get google plus one count using this <a href="https://gist.github.com/jonathanmoore/2640302" rel="nofollow noreferrer">article</a></p>
  <p>this is my code:</p>
  <pre><code>// Create a request using a URL that can receive a post. 
          WebRequest request = WebRequest.Create(&quot;https://clients6.google.com/rpc?key=AIzaSyAr1iwJ7rDsRx9BwS6M6MArYrNHfDtQJqk&quot;);
          // Set the Method property of the request to POST.
          request.Method = &quot;POST&quot;;
          request.ContentType = &quot;application/json&quot;;
  
          var paramss = new MyStruct()
          {
              id = domain,
              source = &quot;widget&quot;,
              nolog = true,
              userId = &quot;@viewer&quot;,
              groupId = &quot;@self&quot;,
          };
          JavaScriptSerializer serializer = new JavaScriptSerializer();
          var str = serializer.Serialize(paramss);
          // Create POST data and convert it to a byte array.
          string postData = &quot;method=pos.plusones.get&quot;;
          postData += &quot;&amp;id=p&quot;;
          postData += &quot;&amp;jsonrpc=2.0&quot;;
          postData += &quot;&amp;key=p&quot;;
          postData += &quot;&amp;apiVersion=v1&quot;;
          postData += &quot;&amp;params=&quot; + str;
          byte[] byteArray = Encoding.UTF8.GetBytes(postData);
         // Set the ContentLength property of the WebRequest.
          request.ContentLength = byteArray.Length;
          // Get the request stream.
          Stream dataStream = request.GetRequestStream();
          // Write the data to the request stream.
          dataStream.Write(byteArray, 0, byteArray.Length);
          // Close the Stream object.
          dataStream.Close();
          // Get the response.
          WebResponse response = request.GetResponse();
          // Display the status.
          Console.WriteLine(((HttpWebResponse)response).StatusDescription);
          // Get the stream containing content returned by the server.
          dataStream = response.GetResponseStream();
          // Open the stream using a StreamReader for easy access.
          StreamReader reader = new StreamReader(dataStream);
          // Read the content.
          string responseFromServer = reader.ReadToEnd();
  </code></pre>
  <p>but keep getting the same error:</p>
  <pre><code>{&quot;error&quot;:{&quot;code&quot;:-32700,&quot;message&quot;:&quot;Unable to parse json&quot;,&quot;data&quot;:[{&quot;domain&quot;:&quot;global&quot;,&quot;reason&quot;:&quot;parseError&quot;,&quot;message&quot;:&quot;Unable to parse json&quot;}]}}
  </code></pre>
  <p>I am not trying to parse to json on my code so I don't really know where to start.
  Any ideas?</p>