Skip to content
class method

Psych.to_json

(?::JSON::State? state) -> ::String
to_json(object)

Dump Ruby object to a JSON string.