Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

JSON::Ext::Generator::State#escape_slash?

escape_slash?

Alias of #escape_slash

If this boolean is true, the forward slashes will be escaped in the json output.

See also #escape_slash #escape_slash= #generate #indent also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1