I need to figure out a way to convert a user defined type to a byte array and be able to reconstruct that type from the byte array. So far, what I came up with was to convert each variable in the type ...
converted. Same as Nashorn or alternative. I am comfortable with O(n) solution to convert every object/array entry one by one. I also not know how much levels JS object depth. The string, boolean, ...