vshymanskyy/muon

Standard text representation

ertong opened this issue · 0 comments

Just for debug purposes, sometimes it is handy just print it to console. So it is useful to have some cheap (on the fly, without full decoding to separate object; maybe in order to run on microcontroller for example) toString method.

Json is an option, but not sure whether it can be done cheap (by memory).
But as far as I understand, not every muon can be represented as json.