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

library json/add/struct

要約

Struct に JSON 形式の文字列に変換するメソッドや JSON 形式の文字列から Ruby のオブジェクトに変換するメソッドを定義します。

追加・再定義されるメソッド

Struct#to_json Struct.json_create