brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Vendor::OkJson#decode
Decodes a json document in string s and returns the corresponding ruby value. String s must be valid UTF-8. If you have a string in some other encoding, convert it first. String values in the resulting structure will be UTF-8.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/vendor/okjson.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vendor--OkJson-decode-for-pr
# Commit to gitgit add Library/Homebrew/vendor/okjson.rbgit commit -m "better docs for Vendor::OkJson#decode"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vendor--OkJson-decode-for-pr
hub pull-request
# Celebrate!