method

ascii_only?

ruby latest stable - Class: JSON::Ext::Generator::State
ascii_only?()
public

Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise returns false.