<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>JsonViewer Forum Rss Feed</title><link>http://www.codeplex.com/JsonViewer/Thread/List.aspx</link><description>JsonViewer Forum Rss Description</description><item><title>New Post: Covert results to string</title><link>http://jsonviewer.codeplex.com/discussions/433383</link><description>&lt;div style="line-height: normal;"&gt;Is there anyway to take a raw json input and simply copy it to a string that can be manipulated within Visual Studio?&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
{
  &amp;quot;OpenSalesContracts&amp;quot;: [],
  &amp;quot;OpenPurchaseContracts&amp;quot;: [],
  &amp;quot;MatchedSalesContracts&amp;quot;: [
    {
}
&lt;/code&gt;&lt;/pre&gt;

to something like&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;string json = &amp;quot;{&amp;quot; + 
&amp;quot;&amp;quot;&amp;quot;&amp;quot;OpenSalesContracts&amp;quot;&amp;quot;&amp;quot;:[],&amp;quot; +&lt;/code&gt;&lt;/pre&gt;

etc&lt;br /&gt;
&lt;br /&gt;
Many thanks&lt;br /&gt;
Jeremy&lt;br /&gt;
&lt;/div&gt;</description><author>jeremyholt</author><pubDate>Sat, 16 Feb 2013 19:07:00 GMT</pubDate><guid isPermaLink="false">New Post: Covert results to string 20130216070700P</guid></item><item><title>New Post: VS2012 .NET 4.0 Unhandled Exception with Vizualizer</title><link>http://jsonviewer.codeplex.com/discussions/393634</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Anyone successfully have this working with 2012 RTM?&lt;/p&gt;&lt;/div&gt;</description><author>felickz</author><pubDate>Fri, 31 Aug 2012 18:30:13 GMT</pubDate><guid isPermaLink="false">New Post: VS2012 .NET 4.0 Unhandled Exception with Vizualizer 20120831063013P</guid></item><item><title>New Post: VS2012 .NET 4.0 Unhandled Exception</title><link>http://jsonviewer.codeplex.com/discussions/393634</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Unblocked dll's and also tried to copy JsonViewer.dll.config from 1.1 release into IDE folder.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;System.InvalidCastException: Unable to cast object of type 'EPocalipse.Json.Visualizer.JsonVisualizer' to type 'Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer'.&lt;br&gt;
&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.ManagedShim.DelegatedHost.CreateViewer(IntPtr hwnd, HostServicesHelper hsh, SafeProxyWrapper proxy)&lt;/p&gt;
&lt;/div&gt;</description><author>felickz</author><pubDate>Wed, 29 Aug 2012 20:46:39 GMT</pubDate><guid isPermaLink="false">New Post: VS2012 .NET 4.0 Unhandled Exception 20120829084639P</guid></item><item><title>New Post: Is JSON Viewer supposed to work with VS.NET 2008?</title><link>http://jsonviewer.codeplex.com/discussions/68414</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Working here :)&lt;/p&gt;&lt;/div&gt;</description><author>Jim_Johnson</author><pubDate>Thu, 20 Oct 2011 15:06:16 GMT</pubDate><guid isPermaLink="false">New Post: Is JSON Viewer supposed to work with VS.NET 2008? 20111020030616P</guid></item><item><title>New Post: New fork of project</title><link>http://jsonviewer.codeplex.com/discussions/240155</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It seems Eyalp has released a new version of this software so I no longer continue to maintain my port.&lt;/p&gt;&lt;/div&gt;</description><author>zippy1981</author><pubDate>Thu, 14 Apr 2011 19:26:31 GMT</pubDate><guid isPermaLink="false">New Post: New fork of project 20110414072631P</guid></item><item><title>New Post: New fork of project</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=240155</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have created a fork of this project on github to hold my patches since eyalp has not logged into codeplex for a while and I have been unable to contact him.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/justaprogrammer/JsonViewer"&gt;https://github.com/justaprogrammer/JsonViewer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I blogged about my changes here&amp;nbsp;&lt;a href="http://www.justaprogrammer.net/2011/01/01/whats-new-in-jsonviewer/"&gt;http://www.justaprogrammer.net/2011/01/01/whats-new-in-jsonviewer/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>zippy1981</author><pubDate>Sat, 01 Jan 2011 19:45:29 GMT</pubDate><guid isPermaLink="false">New Post: New fork of project 20110101074529P</guid></item><item><title>New Post: Initialization error on stand alone startup</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=69590</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I also have the same error&lt;/p&gt;&lt;/div&gt;</description><author>gwisoft</author><pubDate>Mon, 01 Feb 2010 02:25:40 GMT</pubDate><guid isPermaLink="false">New Post: Initialization error on stand alone startup 20100201022540A</guid></item><item><title>New Post: Can the fiddler2 viewer be added to the request packet inspector</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=34009</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you so much for that contribution, I started down a path to do the same thing and during my research found this post!&lt;/p&gt;&lt;/div&gt;</description><author>tbruinsma</author><pubDate>Mon, 04 Jan 2010 19:09:49 GMT</pubDate><guid isPermaLink="false">New Post: Can the fiddler2 viewer be added to the request packet inspector 20100104070949P</guid></item><item><title>New Post: Why not support UInt64?</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=79050</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;May future version support it?&lt;/p&gt;&lt;/div&gt;</description><author>chen3feng</author><pubDate>Fri, 25 Dec 2009 04:18:00 GMT</pubDate><guid isPermaLink="false">New Post: Why not support UInt64? 20091225041800A</guid></item><item><title>New Post: Can the fiddler2 viewer be added to the request packet inspector</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=34009</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hey guys,&lt;/p&gt;
&lt;p&gt;I third this request but took it upon myself to actually download the source code and create Request version of this plugin. &amp;nbsp;I've tested it and it works great. &amp;nbsp;Would it be possible for one of the developers to add this to the source code so it's incorporated into the official download? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Keep in mind, the code was not refactored or cleaned up...it's pretty much just a straight up copy to get it working for my needs but now that it works, it works great!&lt;/p&gt;
&lt;p&gt;So this file: JsonRequestInspector.cs just needs to be added to the FiddlerJsonViewer project all that is necessary is a recompile of the project. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;That's it!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Ralph Caraveo&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;using&lt;/span&gt; System;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; System.Collections.Generic;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; System.Text;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; System.Windows.Forms;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; System.IO;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; EPocalipse.Json.Viewer;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; Fiddler;
&lt;span style="color:Blue"&gt;using&lt;/span&gt; System.Drawing;

&lt;span style="color:Blue"&gt;namespace&lt;/span&gt; EPocalipse.Json.Fiddler
{
    &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;class&lt;/span&gt; JsonRequestInspector : Inspector2, IRequestInspector2
    {

        &lt;span style="color:Blue"&gt;private&lt;/span&gt; &lt;span style="color:Blue"&gt;byte&lt;/span&gt;[] _body;
        JsonViewer viewer;
        HTTPRequestHeaders _headers;

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;override&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; AddToTab(TabPage o)
        {
            viewer = &lt;span style="color:Blue"&gt;new&lt;/span&gt; JsonViewer();
            o.Text = &lt;span style="color:#A31515"&gt;&amp;quot;JSON Request&amp;quot;&lt;/span&gt;;
            o.Controls.Add(viewer);
            viewer.Dock = DockStyle.Fill;
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;override&lt;/span&gt; &lt;span style="color:Blue"&gt;int&lt;/span&gt; GetOrder()
        {
            &lt;span style="color:Blue"&gt;return&lt;/span&gt; 0;
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;override&lt;/span&gt; &lt;span style="color:Blue"&gt;int&lt;/span&gt; ScoreForContentType(&lt;span style="color:Blue"&gt;string&lt;/span&gt; sMIMEType)
        {
            &lt;span style="color:Blue"&gt;if&lt;/span&gt; (&lt;span style="color:Blue"&gt;string&lt;/span&gt;.Compare(sMIMEType, &lt;span style="color:#A31515"&gt;&amp;quot;text/json&amp;quot;&lt;/span&gt;, &lt;span style="color:Blue"&gt;true&lt;/span&gt;) == 0)
            {
                &lt;span style="color:Blue"&gt;return&lt;/span&gt; 50;
            }
            &lt;span style="color:Blue"&gt;return&lt;/span&gt; 0;
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;override&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; SetFontSize(&lt;span style="color:Blue"&gt;float&lt;/span&gt; flSizeInPoints)
        {
            viewer.Font = &lt;span style="color:Blue"&gt;new&lt;/span&gt; Font(viewer.Font.FontFamily, flSizeInPoints, FontStyle.Regular, GraphicsUnit.Point);
        }

        &lt;span style="color:Blue"&gt;#region&lt;/span&gt; IRequestInspector2 Members

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; Clear()
        {
            _body = &lt;span style="color:Blue"&gt;null&lt;/span&gt;;
            viewer.Clear();
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;override&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; ShowAboutBox()
        {
            MessageBox.Show(&lt;span style="color:#A31515"&gt;&amp;quot;Json Inspector 1.1\nCopyright (c) 2007 Eyal Post\nhttp://www.epocalipse.com/blog&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515"&gt;&amp;quot;Json Viewer&amp;quot;&lt;/span&gt;, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;bool&lt;/span&gt; bDirty
        {
            &lt;span style="color:Blue"&gt;get&lt;/span&gt; { &lt;span style="color:Blue"&gt;return&lt;/span&gt; &lt;span style="color:Blue"&gt;false&lt;/span&gt;; }
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;bool&lt;/span&gt; bReadOnly
        {
            &lt;span style="color:Blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:Blue"&gt;return&lt;/span&gt; &lt;span style="color:Blue"&gt;false&lt;/span&gt;;
            }
            &lt;span style="color:Blue"&gt;set&lt;/span&gt;
            {
            }
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; &lt;span style="color:Blue"&gt;byte&lt;/span&gt;[] body
        {
            &lt;span style="color:Blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:Blue"&gt;return&lt;/span&gt; _body;
            }
            &lt;span style="color:Blue"&gt;set&lt;/span&gt;
            {
                _body = value;
                &lt;span style="color:Blue"&gt;string&lt;/span&gt; json = Encoding.UTF8.GetString(_body);
                &lt;span style="color:Blue"&gt;bool&lt;/span&gt; encoded = _headers.Exists(&lt;span style="color:#A31515"&gt;&amp;quot;Transfer-Encoding&amp;quot;&lt;/span&gt;) || _headers.Exists(&lt;span style="color:#A31515"&gt;&amp;quot;Content-Encoding&amp;quot;&lt;/span&gt;);
                &lt;span style="color:Blue"&gt;if&lt;/span&gt; (_headers.ExistsAndEquals(&lt;span style="color:#A31515"&gt;&amp;quot;Transfer-Encoding&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515"&gt;&amp;quot;chunked&amp;quot;&lt;/span&gt;))
                {
                    &lt;span style="color:Green"&gt;//response in chuncked but still may contain the entire json string. Try to fix it.&lt;/span&gt;
                    json = json.Trim();
                    &lt;span style="color:Blue"&gt;int&lt;/span&gt; startPos = json.IndexOf(&lt;span style="color:#A31515"&gt;'\n'&lt;/span&gt;);
                    &lt;span style="color:Blue"&gt;int&lt;/span&gt; endPos = json.LastIndexOf(&lt;span style="color:#A31515"&gt;'\r'&lt;/span&gt;);
                    &lt;span style="color:Blue"&gt;if&lt;/span&gt; (startPos &amp;gt;= 0 &amp;amp;&amp;amp; endPos &amp;gt;= 0 &amp;amp;&amp;amp; startPos != endPos)
                    {
                        json = json.Substring(startPos, endPos - startPos + 1);
                        json = json.Trim();
                    }
                }
                viewer.ShowTab(Tabs.Viewer);
                viewer.Json = json;
                &lt;span style="color:Blue"&gt;if&lt;/span&gt; (viewer.HasErrors &amp;amp;&amp;amp; encoded)
                {
                    viewer.ShowInfo(&lt;span style="color:#A31515"&gt;&amp;quot;Error parsing JSON. Try using the Transformer to remove the encoding from this response&amp;quot;&lt;/span&gt;);
                }
            }
        }

        &lt;span style="color:Blue"&gt;public&lt;/span&gt; HTTPRequestHeaders headers
        {
            &lt;span style="color:Blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:Blue"&gt;return&lt;/span&gt; &lt;span style="color:Blue"&gt;null&lt;/span&gt;;
            }
            &lt;span style="color:Blue"&gt;set&lt;/span&gt;
            {
                _headers = value;
            }
        }

        &lt;span style="color:Blue"&gt;#endregion&lt;/span&gt;


    }
}

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>deckarep</author><pubDate>Thu, 12 Nov 2009 21:40:36 GMT</pubDate><guid isPermaLink="false">New Post: Can the fiddler2 viewer be added to the request packet inspector 20091112094036P</guid></item><item><title>New Post: Can the fiddler2 viewer be added to the request packet inspector</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=34009</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I would like to second this request. As an RIA developer, most of my outgoing requests are json encoded RPC packets. It would be VERY useful if Json Viewer could inspect POST/PUT content for json data (or even parse inline variables in the request url for json-compatible data and allow inspection of those items too..)&lt;/p&gt;
&lt;p&gt;Beyond that - thank you for an insanely useful plugin. It cuts my dev time on RI apps considerably and makes debugging async comms a breeze.&lt;/p&gt;&lt;/div&gt;</description><author>nemesarial</author><pubDate>Fri, 09 Oct 2009 09:19:33 GMT</pubDate><guid isPermaLink="false">New Post: Can the fiddler2 viewer be added to the request packet inspector 20091009091933A</guid></item><item><title>New Post: Initialization error on stand alone startup</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=69590</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;When I try to run&amp;nbsp;JsonView.exe, I get the following error message:&lt;/p&gt;
&lt;p style="padding-left:30px"&gt;The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.&lt;/p&gt;
&lt;p&gt;I'm running XP &amp;nbsp;SP2, and I do *not* have Visual Studio installed. Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>Oryx</author><pubDate>Mon, 21 Sep 2009 14:04:59 GMT</pubDate><guid isPermaLink="false">New Post: Initialization error on stand alone startup 20090921020459P</guid></item><item><title>New Post: Is JSON Viewer supposed to work with VS.NET 2008?</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=68414</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Sorry, I should have made explicit that I mean the VS.NET visualizer component of JSON Viewer.&lt;/p&gt;&lt;/div&gt;</description><author>SperoLarres</author><pubDate>Wed, 09 Sep 2009 14:35:36 GMT</pubDate><guid isPermaLink="false">New Post: Is JSON Viewer supposed to work with VS.NET 2008? 20090909023536P</guid></item><item><title>New Post: Is JSON Viewer supposed to work with VS.NET 2008?</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=68414</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Also, what about VS.NET 2010?&lt;/p&gt;&lt;/div&gt;</description><author>SperoLarres</author><pubDate>Wed, 09 Sep 2009 14:34:55 GMT</pubDate><guid isPermaLink="false">New Post: Is JSON Viewer supposed to work with VS.NET 2008? 20090909023455P</guid></item><item><title>New Post: Add Http GET ability to the Text Tab</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=51281</link><description>&lt;div style="line-height: normal;"&gt;Sure, go ahead and implement that and then upload it as a patch (I'm not sure how this is done but the CodePlex docs might help). I'll then review it and if it works ok, i'll upload it.&lt;br&gt;
&lt;br&gt;
Thanks, &lt;br&gt;
Eyal
&lt;/div&gt;</description><author>eyalp</author><pubDate>Thu, 26 Mar 2009 08:20:39 GMT</pubDate><guid isPermaLink="false">New Post: Add Http GET ability to the Text Tab 20090326082039A</guid></item><item><title>New Post: Add Http GET ability to the Text Tab</title><link>http://jsonviewer.codeplex.com/Thread/View.aspx?ThreadId=51281</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;div&gt;First I would like to thank you for the great application.&lt;/div&gt;&lt;div&gt;I'm working on RESTful web service which return JSON representation and your app help a lot.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I would like to know if you want my addition of Http GET to the Text tab. What I mean is that I'm going to add a text box to which you can write url and I'll do an HTTP GET from that URL and, hopefully, get JSON response and paste it into the text area.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you,&lt;/div&gt;&lt;div&gt;Ido.&lt;/div&gt;&lt;/div&gt;</description><author>ido_ran</author><pubDate>Wed, 25 Mar 2009 16:49:36 GMT</pubDate><guid isPermaLink="false">New Post: Add Http GET ability to the Text Tab 20090325044936P</guid></item><item><title>New Post: Can the fiddler2 viewer be added to the request packet inspector</title><link>http://www.codeplex.com/JsonViewer/Thread/View.aspx?ThreadId=34009</link><description>&lt;div style="line-height: normal;"&gt;I am writing applications that send and receive json, so it would be nice to be able to have the viewer work on the put/post as well as the response.
&lt;/div&gt;</description><author>jkamke</author><pubDate>Thu, 21 Aug 2008 17:49:53 GMT</pubDate><guid isPermaLink="false">New Post: Can the fiddler2 viewer be added to the request packet inspector 20080821054953P</guid></item></channel></rss>