JSON.stringfyEx will never produce text like this but JSON.parseEx accept
this form.
I mean
{
a:11,
b:path(/a)
}
will act all the same with
{
a:11,
b:11
}
2012/3/5 Marius Gundersen <[email protected]>
> // path could also point to a none-object value
>> {
>> a:11,
>> b:path(/a)
>> }
>>
>
> How would you build this from a JavaScript object? There is (so far) no
> way to have a reference to a none-object value, so there would be no way to
> construct this json object from a JavaScript object, and no way to
> recontstruct a JavaScript object from this json string. Therefore paths
> should only be able to refer to objects or arrays.
>
> Marius Gundersen
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss