Flowdock
method

encode

Importance_1
encode(value, options = nil) public

Dumps objects in JSON (JavaScript Object Notation). See www.json.org for more info.

ActiveSupport::JSON.encode({ team: 'rails', players: '36' })
# => "{\"team\":\"rails\",\"players\":\"36\"}"
Show source
Register or log in to add new notes.