<font face="verdana,sans-serif">You could set up a simple web server (with, for example, Yesod [1]) serving up your JSON data, and then just connect to it with Firefox and use JSONView.<br><br>[1] <a href="http://www.yesodweb.com/">http://www.yesodweb.com/</a><br>

</font><br><div class="gmail_quote">On Mon, Feb 20, 2012 at 2:01 PM, dokondr <span dir="ltr">&lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Please advise on a simple GUI library to display JSON data. A library that is easy to build both on Win, Linux and OsX. I need a scrollable view to show a list of JSON objects. Every object may contain other objects (recursively). List may have thousands of objects. Fields may have very long text values, so the view must also be scrollable in horizontal dimension.<br>


JSON object view should be click-able and look like on this example:<br clear="all">{<br>    hey: &quot;guy&quot;,<br>    anumber: 243,<br>    - anobject: {<br>        whoa: &quot;nuts&quot;,<br>        - anarray: [<br>            1,<br>


            2,<br>            &quot;thr&lt;h1&gt;ee&quot;<br>        ],<br>        more: &quot;stuff&quot;<br>    },<br>    awesome: true,<br>    bogus: false,<br>    meaning: null,<br>    link: &quot;<a href="http://jsonview.com" target="_blank">http://jsonview.com</a>&quot;,<br>


}<br><br>Where &#39;-&#39; before the field object indicates that object was expanded and &#39;+&#39; means collapsed object.<br>Clicking on expanded fields should collapse them and vice verse. So for this example, clicking on &#39;anobject&#39; should result in:<br>


{<br>    hey: &quot;guy&quot;,<br>    anumber: 243,<br>    anobject: {    ... }<br>    awesome: true,<br>    bogus: false,<br>    meaning: null,<br>    link: &quot;<a href="http://jsonview.com" target="_blank">http://jsonview.com</a>&quot;,<br>


}<br><br>In short I need a view similar to the one provided by JSONView plugin for Firefox:<br><a href="https://addons.mozilla.org/en-US/firefox/addon/jsonview/" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/jsonview/</a><br>


<br>Thanks a lot for any info, comments and ideas about this project!<br><br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>