method

to_json

v2_1_10 - Show latest stable - Class: Psych
to_json(object)
public

Dump Ruby object to a JSON string.