Reports that an object could not be stringified due to cyclic references.

An object that references itself cannot be serialized by stringify. When the cycle is detected, a JsonCyclicError is thrown.

Inheritance

Properties

cause → dynamic
read-only, inherited

The exception thrown when trying to convert the object.

stackTrace StackTrace
read-only, inherited

unsupportedObject → dynamic
read-only, inherited

The object that could not be serialized.

Constructors

JsonCyclicError(Object object)

The first object that was detected as part of a cycle.

Methods

toString() → String

Returns a string representation of this object.