Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
jsonLower :: Value -> Value Source #
Turn all keys in a JSON object to lowercase recursively. This is applied to the aeson
Value
to be parsed; parseOptions
is applied to the keys passed to (.:)
etc.
(FUTUREWORK: The "recursively" part is a bit of a waste and could be dropped, but we would have to spend more effort in making sure it is always called manually in nested parsers.)