I looks like you can't do that anyway:
JSON.stringify(document)
> TypeError: JSON.stringify cannot serialize cyclic structures.
nico
On Tue, 2013-10-01 at 01:23 -0700, XumuK wrote:
> What i`m doing wrong?
>
>
> Workspace
>
>
> I can inspect this code but:
>
>
> 'hello' asJQuery asJSONString ===> JavaScript exception: RangeError:
> Maximum call stack size exceeded
> jQuery new asJSONString ===> JavaScript exception: RangeError:
> Maximum call stack size exceeded
>
> document asJSONString ===> JavaScript exception: RangeError: Maximum
> call stack size exceeded
> ...
> --
> You received this message because you are subscribed to the Google
> Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
[hidden email].
> For more options, visit
https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/groups/opt_out.