sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
MultiJson::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]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/multi_json/lib/multi_json/vendor/okjson.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MultiJson--OkJson-decode-for-pr
# Commit to gitgit add app/server/ruby/vendor/multi_json/lib/multi_json/vendor/okjson.rbgit commit -m "better docs for MultiJson::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-MultiJson--OkJson-decode-for-pr
hub pull-request
# Celebrate!