method

to_json

ruby latest stable - Class: JSON::Ext::Generator::GeneratorMethods::Float
to_json(*args)
public

Returns a JSON string representation for this Float number.