Skip to content

Instantly share code, notes, and snippets.

@corbob
Created March 28, 2019 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corbob/33ce8130e85440c3818b91f446a0fd9c to your computer and use it in GitHub Desktop.
Save corbob/33ce8130e85440c3818b91f446a0fd9c to your computer and use it in GitHub Desktop.
I would like to turn this:
[ordered]@{
Envelope = [ordered]@{
Header = ''
Body = [ordered]@{
listPhone = [ordered]@{
searchCriteria = [ordered]@{
callingSearchSpaceName = '%'
}
returnedTags = [ordered]@{
callingSearchSpaceName = ''
}
}
}
}
}
into this:
<Envelope>
<Header></Header>
<Body>
<listPhone>
<searchCriteria>
<callingSearchSpaceName>%</callingSearchSpaceName>
</searchCriteria>
<returnedTags>
<callingSearchSpaceName></callingSearchSpaceName>
</returnedTags>
</listPhone>
</Body>
</Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment