るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. win32ole ole_methods
  2. fileutils methods
  3. win32ole ole_get_methods
  4. win32ole ole_put_methods
  5. win32ole ole_func_methods

ライブラリ

検索結果

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

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

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

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

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