るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.022秒)
トップページ > クエリ:require[x] > モジュール:JSON::Generator::GeneratorMethods::String::Extend[x]

別のキーワード

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

ライブラリ

検索結果

JSON::Generator::GeneratorMethods::String::Extend.json_create(hash) -> String (7.0)

JSON のオブジェクトから Ruby の文字列を生成して返します。

...のオブジェクトから Ruby の文字列を生成して返します。

@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。

require
'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC"...