An extra step beyond that could be launching the application with wai-handler-launch[1], so that the user's default browser is automatically opened.
[1] http://hackage.haskell.org/package/wai-handler-launch On Mon, Feb 20, 2012 at 9:24 PM, Clark Gaebel <cgae...@csclub.uwaterloo.ca> wrote: > 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. > > [1] http://www.yesodweb.com/ > > On Mon, Feb 20, 2012 at 2:01 PM, dokondr <doko...@gmail.com> wrote: >> >> 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. >> JSON object view should be click-able and look like on this example: >> { >> hey: "guy", >> anumber: 243, >> - anobject: { >> whoa: "nuts", >> - anarray: [ >> 1, >> 2, >> "thr<h1>ee" >> ], >> more: "stuff" >> }, >> awesome: true, >> bogus: false, >> meaning: null, >> link: "http://jsonview.com", >> } >> >> Where '-' before the field object indicates that object was expanded and >> '+' means collapsed object. >> Clicking on expanded fields should collapse them and vice verse. So for >> this example, clicking on 'anobject' should result in: >> { >> hey: "guy", >> anumber: 243, >> anobject: { ... } >> awesome: true, >> bogus: false, >> meaning: null, >> link: "http://jsonview.com", >> } >> >> In short I need a view similar to the one provided by JSONView plugin for >> Firefox: >> https://addons.mozilla.org/en-US/firefox/addon/jsonview/ >> >> Thanks a lot for any info, comments and ideas about this project! >> >> >> _______________________________________________ >> Haskell-Cafe mailing list >> Haskell-Cafe@haskell.org >> http://www.haskell.org/mailman/listinfo/haskell-cafe >> > > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe