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

Hedgehog.Extras.Stock.Aeson

Synopsis

Documentation

rewriteObject :: (KeyMap Value -> KeyMap 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.