method
encode_json
v4.0.2 -
Show latest stable
- Class:
Array
encode_json(encoder)public
No documentation available.
# File activesupport/lib/active_support/json/encoding.rb, line 273
def encode_json(encoder) #:nodoc:
# we assume here that the encoder has already run as_json on self and the elements, so we run encode_json directly
"[#{map { |v| v.encode_json(encoder) } * ','}]"
end