method

to_json

v2.3.8 - Show latest stable - Class: Array
to_json(options = nil)
public

Returns a JSON string representing the Array. options are passed to each element.