るりまサーチ

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

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

検索結果

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

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

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

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

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