class JSON::TruffleRuby::Generator::State

def allow_nan?

valid JSON and output.
Returns true if NaN, Infinity, and -Infinity should be considered as
def allow_nan?
  @allow_nan
end