Load the struct
(data)
| 17779 | |
| 17780 | # Load the struct |
| 17781 | def marshal_load(data) |
| 17782 | # Deserialize the struct from the FBE stream |
| 17783 | reader = StructHashModel.new(FBE::ReadBuffer.new) |
| 17784 | reader.attach_buffer(data) |
| 17785 | initialize_copy(reader.deserialize[0]) |
| 17786 | end |
| 17787 | |
| 17788 | # Get struct JSON value |
| 17789 | def to_json |
nothing calls this directly
no test coverage detected