sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

MultiJson#adapter=

Set the JSON parser utilizing a symbol, string, or class.
Supported by default are:

* <tt>:oj</tt>
* <tt>:json_gem</tt>
* <tt>:json_pure</tt>
* <tt>:ok_json</tt>
* <tt>:yajl</tt>
* <tt>:nsjsonserialization</tt> (MacRuby only)
* <tt>:gson</tt> (JRuby only)
* <tt>:jr_jackson</tt> (JRuby only)

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/multi_json/lib/multi_json.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MultiJson-adapter--for-pr


# Commit to git

git add app/server/ruby/vendor/multi_json/lib/multi_json.rbgit commit -m "better docs for MultiJson#adapter="


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-MultiJson-adapter--for-pr

hub pull-request


# Celebrate!