Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > jsonライブラリ > JSON::Generator::GeneratorMethods::Integerモジュール > to_json

instance method JSON::Generator::GeneratorMethods::Integer#to_json

to_json -> String[permalink][rdoc]

自身から生成した JSON 形式の文字列を返します。