Load the struct
(data)
| 1659 | |
| 1660 | # Load the struct |
| 1661 | def marshal_load(data) |
| 1662 | # Deserialize the struct from the FBE stream |
| 1663 | reader = StructSimpleModel.new(FBE::ReadBuffer.new) |
| 1664 | reader.attach_buffer(data) |
| 1665 | initialize_copy(reader.deserialize[0]) |
| 1666 | end |
| 1667 | |
| 1668 | # Get struct JSON value |
| 1669 | def to_json |
nothing calls this directly
no test coverage detected