るりまサーチ

最速Rubyリファレンスマニュアル検索!
156件ヒット [101-156件を表示] (0.139秒)

別のキーワード

  1. kernel require
  2. getoptlong require_order
  3. rubygems/custom_require require
  4. irb/ext/use-loader irb_require
  5. rdoc/require require

検索結果

<< < 1 2 >>

JSON::Generator::GeneratorMethods::Float#to_json(state_or_hash = nil) -> String (9214.0)

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

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

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

JSON::Generator::GeneratorMethods::Hash#to_json(state_or_hash = nil) -> String (9214.0)

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

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

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

per...
...son = { "name" => "tanaka", "age" => 19 }
person.to_json # => "{\"name\":\"tanaka\",\"age\":19}"
//}...

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

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

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

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

JSON::Generator::GeneratorMethods::NilClass#to_json(state_or_hash = nil) -> String (9214.0)

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

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

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

JSON::Generator::GeneratorMethods::TrueClass#to_json(state_or_hash = nil) -> String (9214.0)

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

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

"true" という文字列を返します。

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

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

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

絞り込み条件を変える

<< < 1 2 >>