Create a new StructSet struct from JSON
(buffer []byte)
| 60 | |
| 61 | // Create a new StructSet struct from JSON |
| 62 | func NewStructSetFromJSON(buffer []byte) (*StructSet, error) { |
| 63 | result := *NewStructSet() |
| 64 | err := fbe.Json.Unmarshal(buffer, &result) |
| 65 | if err != nil { |
| 66 | return nil, err |
| 67 | } |
| 68 | return &result, nil |
| 69 | } |
| 70 | |
| 71 | // Struct shallow copy |
| 72 | func (s *StructSet) Copy() *StructSet { |
nothing calls this directly
no test coverage detected