るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.031秒)
トップページ > クエリ:p[x] > ライブラリ:json/add/ostruct[x]

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dh p
  5. rsa p

クラス

キーワード

検索結果

OpenStruct.json_create(hash) -> OpenStruct (3102.0)

JSON のオブジェクトから OpenStruct のオブジェクトを生成して返します。

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

@param hash OpenStruct.new に指定可能な値をキー 't' もしくは :t に持つハッシュを指定します。...

OpenStruct#to_json(*args) -> String (3002.0)

自身を JSON 形式の文字列に変換して返します。

...

内部的にはハッシュにデータをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。

@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡されます。

@see JSON::Generator::GeneratorMethods::Hash#t...