self-referencing-json

Tool to serialize and deserialize javascript objects as json even if they contain recursive references within themselves. This is done by storing values that are already in the object as a path to the value's other location in the form of a string.

Browse on unpkg