decode(json, options = {})
Class Public methods
Parses a JSON string (JavaScript Object Notation) into a hash. See www.json.org for more info.
1 2 | ActiveSupport:: JSON .decode( "{\"team\":\"rails\",\"players\":\"36\"}" ) => { "team" => "rails" , "players" => "36" } |
Please login to continue.