On 5 March 2012 13:20, 程劭非 <[email protected]> wrote:
> 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
> }
Do you expect
{
a: path(a2),
a2: {c: 1, d: path(../b/d)},
b: path(b2),
b2: {c: path(../a/c), d: 2},
}
to work? Even ignoring the issue with circularities, you would need to
do (deep) dependency analysis before initialising individual
properties.
/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss