Hedgehog.Extras.Stock.Aeson
rewriteObject :: (HashMap Text Value -> HashMap Text 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.