Ruby 2.7.0 リファレンスマニュアル > ライブラリ一覧 > json/add/structライブラリ > Structクラス > json_create

singleton method Struct.json_create

json_create(hash) -> Struct[permalink][rdoc] [added by json/add/struct]

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

[PARAM] hash:
適切なキーを持つハッシュを指定します。