(w WaveObj)
| 308 | } |
| 309 | |
| 310 | func ORefFromWaveObj(w WaveObj) *ORef { |
| 311 | return &ORef{ |
| 312 | OType: w.GetOType(), |
| 313 | OID: GetOID(w), |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | func FromJsonGen[T WaveObj](data []byte) (T, error) { |
| 318 | obj, err := FromJson(data) |
no test coverage detected