castOrUnmarshal allows us to pass in any interface and it will either cast dataInter to v or unmarshal bytes to v it does so by detecting if dataInter is of a custom bytes type accepts a silent flag, which skips all logging and debugging (may be expensive)
(dataInter interface{}, v interface{}, flags ...bool)
source not stored for this graph (policy: none)
no test coverage detected