るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.024秒)
トップページ > バージョン:2.6.0[x] > クエリ:json[x] > クエリ:extend[x]

別のキーワード

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

ライブラリ

キーワード

検索結果

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

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

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

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

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

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

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

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

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

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

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