Files

ActiveResource::Formats::JsonFormat

Public Instance Methods

decode(json) click to toggle source
    # File lib/active_resource/formats/json_format.rb, line 20
20:       def decode(json)
21:         ActiveSupport::JSON.decode(json)
22:       end
encode(hash, options = nil) click to toggle source
    # File lib/active_resource/formats/json_format.rb, line 16
16:       def encode(hash, options = nil)
17:         ActiveSupport::JSON.encode(hash, options)
18:       end
extension() click to toggle source
    # File lib/active_resource/formats/json_format.rb, line 8
 8:       def extension
 9:         "json"
10:       end
mime_type() click to toggle source
    # File lib/active_resource/formats/json_format.rb, line 12
12:       def mime_type
13:         "application/json"
14:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.