Ruby 4.0 リファレンスマニュアル

instance method String#to_json_raw

to_json_raw(*args) -> StringRuby 1.9.1 から Ruby 4.1 で削除[permalink][rdoc][edit] [added by json/add/string]

self に対して String#to_json_raw_object を呼び出して JSON::Ext::Generator::GeneratorMethods::Hash#to_json した結果を返します。

[PARAM] args:
引数はそのまま JSON::Ext::Generator::GeneratorMethods::Hash#to_json に渡されます。

[SEE_ALSO] String#to_json_raw_object, JSON::Ext::Generator::GeneratorMethods::Hash#to_json