mori
mori copied to clipboard
Make toJs work on mori structures inside of JS structures
Input:
m.toJs({ "a": m.vector(1, 2) })
Expected output:
{ "a": [ 1, 2 ] } // a JS array inside of a JS object
Actual output:
{ a: [ 1 2 ] } // a Mori vector inside of a JS object
Does this make sense?
:+1: I'm also expecting from toJs
to return only native datatypes.