json - style - matlab code sharelatex
Which Haskell package for JSON (2)
Choose by others' dependencies
If you use one of the new Haskell web frameworks, you may consider using the same json library as the framework is using. From the reverse dependencies it seems that the pairing is:
- On-a-Horse: ???
And a lot of packages use
Choose by features
You may also choose to use a package according to its features.
JSONb if you are a ByteStrings' user. It uses AttoParsec instead of the usual Parsec, so it might be faster (but measure it first).
RJson is doing some clever tricks to serialize nested records automatically.
YAJL offers bindings to yajl, a fast parser written in C. But be careful: the original yajl is BSD, but Haskell YAJL is GPL-v3.
json is, probably, a safe choice.
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.?