Skip to content

Instantly share code, notes, and snippets.

@aaronzirbes
Created March 9, 2018 18:30
Show Gist options
  • Save aaronzirbes/959c3d5a2e7c65d84e083239b2834e65 to your computer and use it in GitHub Desktop.
Save aaronzirbes/959c3d5a2e7c65d84e083239b2834e65 to your computer and use it in GitHub Desktop.
Turn Java Properties in to JSON
sed -E 's/(String|Integer|UUID|Instant|Boolean) ([a-zA-Z0-9]+;)/"\2": "\11",/' *.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment