I have a jquery element as object:
var created = $('#object');
and I want to parse it to JSON with this method:
var json = JSON.stringify(created);
but its throwing
Maximum call stack size exceeded error
Is there any way that I can get this element as JSON?