哪个Haskell包适用于JSON [英] Which Haskell package for JSON
问题描述
是否有统计数据显示哪个软件包使用得最多,下载次数最多等?
$ b $我认为,今天它已被广泛接受我认为最好的JSON库和Haskell的事实标准是Aeson:/ p>http://hackage.haskell.org/package/aeson
维护者是Brian O'Sullivan,他以对Haskell的深入了解和他以绩效为导向的工作而闻名。毫无疑问,这是正确的选择。
另外,Aeson提供了一个非常好的API,检查这个例子。另外,我不知道过去,但现在Yesod也使用Aeson :
http://hackage.haskell.org/packages/archive/yesod-json/1.1.0/doc/html/Yesod-Json.html
使用aeson包
http://www.yesodweb.com/book/ json-web-service
我们将使用aeson进行JSON解析和呈现
There are about a dozen JSON packages on Hackage for Haskell. How do I know which package I should use? How do I get a popular opinion?
Are there any statistics on which package is being used the most, downloaded the most, etc.?
The other answers are obsolete I think, today it is widely accepted I think that the best JSON library and the de-facto standard in Haskell is Aeson:
http://hackage.haskell.org/package/aeson
The maintainer is Brian O'Sullivan, known for his deep knowledge of Haskell and his performance-oriented work; there is no question it's the right choice.
In addition Aeson offers a very nice API, check this example.
Also, I don't know for the past but nowadays also Yesod uses Aeson:
http://hackage.haskell.org/packages/archive/yesod-json/1.1.0/doc/html/Yesod-Json.html "using the aeson package"
http://www.yesodweb.com/book/json-web-service "We'll be using aeson for JSON parsing and rendering"
这篇关于哪个Haskell包适用于JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!