Load the struct
(data)
| 13055 | |
| 13056 | # Load the struct |
| 13057 | def marshal_load(data) |
| 13058 | # Deserialize the struct from the FBE stream |
| 13059 | reader = StructVectorModel.new(FBE::ReadBuffer.new) |
| 13060 | reader.attach_buffer(data) |
| 13061 | initialize_copy(reader.deserialize[0]) |
| 13062 | end |
| 13063 | |
| 13064 | # Get struct JSON value |
| 13065 | def to_json |
nothing calls this directly
no test coverage detected