Skip to content

Instantly share code, notes, and snippets.

@hanbei
Created July 5, 2019 12:14
Show Gist options
  • Save hanbei/958e1e968bdd3e0d10bd747b7fcdfb25 to your computer and use it in GitHub Desktop.
Save hanbei/958e1e968bdd3e0d10bd747b7fcdfb25 to your computer and use it in GitHub Desktop.
Parse json response from wiremock recording
jq .request.bodyPatterns[].equalToJson {} | sed 's/\\"/"/g' - | sed 's/\\"/\"/g' - | sed 's/^"//g' - | sed 's/"$//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment