aliases: JSON::Ext::Generator::GeneratorMethods::Float
Float に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
to_json(state_or_hash = nil) -> String
自身から生成した JSON 形式の文字列を返します。
例 require "json" (1.0).to_json # => "1.0"
require "json" (1.0).to_json # => "1.0"