るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.046秒)
トップページ > クエリ:Integer[x] > クエリ:on[x] > クエリ:hash[x] > ライブラリ:json[x]

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer times

検索結果

JSON::Generator::GeneratorMethods::Integer#to_json(state_or_hash = nil) -> String (12215.0)

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

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

@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
JSON::State のインスタンスか、
JSON
::State.new の引数と同じ Hash...
...指定します。

//emlist[例][ruby]{
require "json"

10.to_json # => "10"
//}...