I understand, it make sense in this way but it's very dangerous, in this way I don't think it helps the users on contrary can leave bad code falsely working.
Cezar On Thu, Sep 13, 2012 at 6:38 AM, Ghislain Fourny <ghislain.fou...@28msec.com > wrote: > Hi Cezar, > > In general, an object constructor expression is not always valid JSON, as > it is more general. For example, { 1 : 1 } is valid JSONiq although it is > not valid JSON. A key expression, can be anything, and will be atomized and > cast to xs:string. > > Also, { "null" : 1 } (which is what is produced) is valid JSON, just like > { "1" : 1 }. > > Accepting { null : 1 } in the same way makes the specification simpler, as > we need not special-case. > > Does it make sense? > -- > https://code.launchpad.net/~zorba-coders/zorba/fix-1046415/+merge/123283 > Your team Zorba Coders is subscribed to branch lp:zorba. > > -- > Mailing list: https://launchpad.net/~zorba-coders > Post to : zorba-coders@lists.launchpad.net > Unsubscribe : https://launchpad.net/~zorba-coders > More help : https://help.launchpad.net/ListHelp > -- https://code.launchpad.net/~zorba-coders/zorba/fix-1046415/+merge/123283 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp