Skip to content

Stringy.js will stringify your circular JS objects without complaint.

Notifications You must be signed in to change notification settings

highruned/stringy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Stringy.js

Stringy.js will stringify your circular JS objects without complaint. Unfortunately it currently fails if the object hierarchy exceeds 30 total items.

Usage

var b = {foo: {bar: null}}

b.foo.bar = b // it's circular!

console.log("Filtering: ", b)
console.log(stringy.stringify(b)) // works!
console.log(JSON.stringify(b)) // exception

About

Stringy.js will stringify your circular JS objects without complaint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published