After we fixed #275 (allow marshal/unmarshal cycle for block.Info),
we discovered few more occourrences which also prevented
full JSON encode/decode/encode cycles (aka roundtrips).
All of the new findings still see unnecessary limitations,
so this patch adds the missing functions.
After we fixed #275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips).
All of the new findings still see unnecessary limitations, so this patch adds the missing functions.
Fixes: https://github.com/jaypipes/ghw/issues/283 Signed-off-by: Francesco Romani fromani@redhat.com