Serialize components was one big monolith. Split it up in Input, Output, and a component that connects these.
Make yaml just do yaml stuff. Moved out expand-functionality (translates buffers to hex), and added un-expand.
Added JSON as input type
Added SSZ as input type
seems funny, but you can get a hash-tree-root now, and play with ssz values in hex, to see what it serializes too. Also useful for debugging eth2 work.
Plan is to enhance the output with more data next;
Hacking on it some more for ssz-partials experiments. Fixed json uint size problems, fixed random numbers, and have a work in progress tree-view. Will open another PR tomorrow :)
yaml
just do yaml stuff. Moved out expand-functionality (translates buffers to hex), and added un-expand.Plan is to enhance the output with more data next;