method

encode_json

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: Hash
encode_json(encoder) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/json/encoding.rb, line 208
  def encode_json(encoder)
    "{#{map { |k,v| "#{encoder.encode(k.to_s)}:#{encoder.encode(v)}" } * ','}}"
  end
Register or log in to add new notes.