るりまサーチ (Ruby 3.2)

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

別のキーワード

  1. json to_json
  2. json state
  3. json parser
  4. json []
  5. json parse

ライブラリ

検索結果

JSON::Ext::Generator::GeneratorMethods::String::Extend (63097.0)

Alias of JSON::Generator::GeneratorMethods::String::Extend

Alias of JSON::Generator::GeneratorMethods::String::Extend

JSON::Generator::GeneratorMethods::String::Extend (63049.0)

String に JSON で使用する特異メソッドを追加するためのモジュールです。

String に JSON で使用する特異メソッドを追加するためのモジュールです。

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

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

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

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

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