aeson-utils alternatives and similar packages
Based on the "aeson" category.
Alternatively, view aeson-utils alternatives based on common mentions on social networks and blogs.
-
aeson-injector
Haskell library for injecting fields into aeson values -
aeson-casing
Tools to change the formatting of field names in Aeson instances. -
aeson-smart
Better template haskell generation of parseJSON and toJSON methods -
aeson-flowtyped
Moved to https://gitlab.com/transportengineering/aeson-flowtyped -
aeson-applicative
define To/From JSON instances from one applicative definition -
aeson-value-parser
An API for parsing "aeson" JSON tree into Haskell types -
aeson-generic-compat
Compatible generic class names of Aeson -
aeson-attoparsec
Embed an attoparsec parser into an aeson parser
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of aeson-utils or a related project?
README
aeson-utils
A small package containing helpful addititions to aeson.
It provides eitherDecodeV
and decodeV
functions (analogous to eitherDecode
and decode
in aeson) that can be used to parse atomic JSON values at the top level. This is not strictly valid JSON, only objects and arrays are allowed at the top level in the specification, but aeson's encode
allows this already. This gives us the nice property decodeV . encode = Just
.
The package also contains the .=?
operator that you can use to optionally construct object pairs:
object (
[ "a" .= foo
, "b" .= bar
] ++ catMaybes
[ "c" .=? mBaz
, "d" .=? mQux
])
Finally it has a parseNumber
function that converts a scientific into Either Integer Double
in case you want to distinguish between integrals and fractionals.
Installation instructions
aeson-utils is available on hackage
cabal install aeson-utils