Hedgehog.Extras.Stock.Aeson
rewriteObject :: (KeyMap Value -> KeyMap Value) -> Value -> Value Source #
Rewrite a JSON object to another JSON object using the function f.
f
All other JSON values are preserved.
rewriteArrayElements :: (Value -> Value) -> Value -> Value Source #
Rewrite each element of a JSON array using the function f.