I\'m struggling to understand this (I\'m still a bit new to Haskell) but I\'m finding the documentation for the Text.JSON package to be a little confusing. Basicall
Text.JSON
Here is an example of Text.JSON.Generic and decodeJSON: http://hpaste.org/41263/parsing_json_with_textjson
Text.JSON.Generic
decodeJSON