Load the struct
(data)
| 19501 | |
| 19502 | # Load the struct |
| 19503 | def marshal_load(data) |
| 19504 | # Deserialize the struct from the FBE stream |
| 19505 | reader = StructEmptyModel.new(FBE::ReadBuffer.new) |
| 19506 | reader.attach_buffer(data) |
| 19507 | initialize_copy(reader.deserialize[0]) |
| 19508 | end |
| 19509 | |
| 19510 | # Get struct JSON value |
| 19511 | def to_json |
nothing calls this directly
no test coverage detected