Good evening guys,

suppose I write a very simple parser using Aeson with these types and
ToJSON / FromJSON instances:

https://github.com/cakesolutions/the-pragmatic-haskeller/blob/master/01-json/Pragmatic/Types.hs
https://github.com/cakesolutions/the-pragmatic-haskeller/blob/master/01-json/Pragmatic/JSON/Parser.hs

My question is simple: is it possible to "automagically" store the haskell
data structure produced from the aeson encoding using

http://hackage.haskell.org/packages/archive/mongoDB/1.3.2/doc/html/Database-MongoDB-Query.html#g:7

Any tip/suggestion is welcome,

Thanks,
Alfredo
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to