hedgehog-extras-0.4.1.0: Supplemental library for hedgehog
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hedgehog.Extras.Stock.Aeson

Synopsis

Documentation

rewriteObject :: (HashMap Text Value -> HashMap Text Value) -> Value -> Value Source #

Rewrite a JSON object to another JSON object using the function f.

All other JSON values are preserved.

rewriteArrayElements :: (Value -> Value) -> Value -> Value Source #

Rewrite each element of a JSON array using the function f.

All other JSON values are preserved.