Last active
April 14, 2019 21:15
-
-
Save marcgeld/8ed7d2a4630989950d9aab9ff14abeaf to your computer and use it in GitHub Desktop.
Pretty Print JSON (IKEA Tradfri FW Check)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import static groovy.json.JsonOutput.prettyPrint | |
println prettyPrint( new URL ("http://fw.ota.homesmart.ikea.net/feed/version_info.json").getText() ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment