Module | ActiveResource::Formats::JsonFormat |
In: |
vendor/rails/activeresource/lib/active_resource/formats/json_format.rb
|
# File vendor/rails/activeresource/lib/active_resource/formats/json_format.rb, line 18 18: def decode(json) 19: ActiveSupport::JSON.decode(json) 20: end
# File vendor/rails/activeresource/lib/active_resource/formats/json_format.rb, line 14 14: def encode(hash, options = nil) 15: ActiveSupport::JSON.encode(hash, options) 16: end
# File vendor/rails/activeresource/lib/active_resource/formats/json_format.rb, line 6 6: def extension 7: "json" 8: end