Load the struct
(data)
| 15459 | |
| 15460 | # Load the struct |
| 15461 | def marshal_load(data) |
| 15462 | # Deserialize the struct from the FBE stream |
| 15463 | reader = StructSetModel.new(FBE::ReadBuffer.new) |
| 15464 | reader.attach_buffer(data) |
| 15465 | initialize_copy(reader.deserialize[0]) |
| 15466 | end |
| 15467 | |
| 15468 | # Get struct JSON value |
| 15469 | def to_json |
nothing calls this directly
no test coverage detected