Closed chengjianhua closed 5 years ago
@mweststrate Do you think this approach is okay ? Or give some suggestions ?
I hope this to be accepted as soon as possible. While I deserialize / serialize the object withe deep complex structure, it took me too much time to debug out which part is illegal.
I think this do help others too.
@chengjianhua thanks, has been added in v1.5.0.
(#62)
I refer to the implementation of debug.
In addition to stringifying json data, it also output the non-string objects to console by
console.log()
. It's useful that if we want to inspect a complicated object that contains many hidden properties (e.g. observable in mobx) whileupdate
/deserialize
failed particularly.The final effect like below: