Name: steps-utils-json
Owner: Bitrise
Description: steps-utils-json
Created: 2014-05-16 11:20:50.0
Updated: 2014-07-11 08:58:27.0
Pushed: 2014-07-11 11:35:36.0
Homepage: null
Size: 184
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Helps to retrieve a value for a key from a json formatted string. Can be easily included in other projects by adding as a submodule in SourceTree.
Uses json and prop variables. The simple function is named jsonval.
Example usage:
json=$(/usr/bin/curl http:\\... \
...
)
echo " --- Result ---"
echo "$json"
echo " --------------"
prop='install_url'
install_url=`jsonval`