Method: JSON.fast_unparse

Defined in:
lib/json/common.rb

.fast_unparseObject



937
938
939
940
941
942
943
944
# File 'lib/json/common.rb', line 937

def fast_unparse(...)
  if RUBY_VERSION >= "3.0"
    warn "JSON.fast_unparse is deprecated and will be removed in json 3.0.0, just use JSON.generate", uplevel: 1, category: :deprecated
  else
    warn "JSON.fast_unparse is deprecated and will be removed in json 3.0.0, just use JSON.generate", uplevel: 1
  end
  generate(...)
end