<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Networking and Web Services</title><link>http://forums.asp.net/1009.aspx</link><description>Discuss your issues with the client and server interaction in AJAX using web services and other transports used by AJAX</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: JsonTextParser throw FormatException when the format is good..</title><link>http://forums.asp.net/thread/3267320.aspx</link><pubDate>Tue, 30 Jun 2009 19:15:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267320</guid><dc:creator>SweeT EviL</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267320.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3267320</wfw:commentRss><description>&lt;p&gt;How can I verify and solved that?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: JsonTextParser throw FormatException when the format is good..</title><link>http://forums.asp.net/thread/3267192.aspx</link><pubDate>Tue, 30 Jun 2009 18:03:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267192</guid><dc:creator>gt1329a</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267192.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3267192</wfw:commentRss><description>&lt;p&gt;If I had to guess, I would bet the empty &amp;quot;results&amp;quot; array literal is the problem.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>JsonTextParser throw FormatException when the format is good..</title><link>http://forums.asp.net/thread/3266984.aspx</link><pubDate>Tue, 30 Jun 2009 16:04:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266984</guid><dc:creator>SweeT EviL</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266984.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3266984</wfw:commentRss><description>&lt;p&gt;I use this code:&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;JsonTextParser pars = new JsonTextParser();
JsonObject obj = pars.Parse(XXX);&lt;/pre&gt;&lt;br /&gt; When the XXX equals to:&lt;br /&gt;&lt;pre name="code" class="xhtml"&gt;{
&amp;quot;responseData&amp;quot;: 
	{
	&amp;quot;results&amp;quot;:[],&amp;quot;cursor&amp;quot;:
			{
			&amp;quot;moreResultsUrl&amp;quot;:&amp;quot;http://www.google.com/search?oe\u003dutf8\u0026ie\u003dutf8\u0026source\u003duds\u0026start\u003d0\u0026hl\u003den\u0026q\u003d%D7%90%D7%97%D7%9C%D7%94+%D7%91%D7%97%D7%9C%D7%94+%D7%91%D7%92%D7%A8%D7%A0%D7%93+%D7%A7%D7%99%D7%99%D7%9E%D7%9F&amp;quot;
			}
	}, 
&amp;quot;responseDetails&amp;quot;: null, &amp;quot;responseStatus&amp;quot;: 200
}&lt;/pre&gt;&lt;br /&gt; And the exception is:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.FormatException was unhandled by user code&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Message=&amp;quot;Cannot parse a value.&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Source=&amp;quot;System.Net.Json&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; StackTrace:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseSomethingWithoutName()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseCollection()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseSomethingWithoutName()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseCollection()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseSomethingWithoutName()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseCollection()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.ParseSomethingWithoutName()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.Json.JsonTextParser.Parse(String text)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Default8.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\eViL\My Documents\Visual Studio 2008\WebSites\NewTest\Default8.aspx.cs:line 20&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.Control.OnLoad(EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.Control.LoadRecursive()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; InnerException:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m no expert in json but its seems like a valid json format. And I maybe think its that null, but then it would throw different exception, right?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>