Methods
Public Instance methods
[ show source ]
# File activeresource/lib/active_resource/formats/json_format.rb, line 18 18: def decode(json) 19: ActiveSupport::JSON.decode(json) 20: end
[ show source ]
# File activeresource/lib/active_resource/formats/json_format.rb, line 14 14: def encode(hash, options = nil) 15: ActiveSupport::JSON.encode(hash, options) 16: end
[ show source ]
# File activeresource/lib/active_resource/formats/json_format.rb, line 6 6: def extension 7: "json" 8: end
[ show source ]
# File activeresource/lib/active_resource/formats/json_format.rb, line 10 10: def mime_type 11: "application/json" 12: end