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 

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?
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

Reply via email to