"serialize cyclic structures"
See original GitHub issueTrying to console.log an object and I just get:
TypeError: JSON.stringify cannot serialize cyclic structures.
@:
at mocha-phantomjs/core_extensions.js:28
at mocha-phantomjs/core_extensions.js:58
We’re using MooTools and I think it might be something to do with trying to stringify a MooTools Class.
Issue Analytics
- State:
- Created 10 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Serializing object that contains cyclic object value
I have an object (parse tree) that contains child nodes which are references to other nodes. I'd like to serialize this object, using...
Read more >TypeError: cyclic object value - JavaScript - MDN Web Docs
The JavaScript exception "cyclic object value" occurs when object references were found in JSON. JSON.stringify() doesn't try to solve them ...
Read more >[TypeError: JSON.stringify cannot serialize cyclic structures ...
I'm getting error [TypeError: JSON.stringify cannot serialize cyclic structures.] object when i try to convert realm object to json object ...
Read more >Random error 'JSON.stringify cannot serialize cyclic structures'
The error was on trying to call the API (Executing the API post method) it failures random on different days only with mobile...
Read more >React Native JSON.stringify cannot serialize cyclical structures
iOS : React Native JSON.stringify cannot serialize cyclical structures [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

thanks @nathanboktae! I fixed my problem by using this:
Yes it is.