Andy,
- I am pelase that JSON result objects are mapped to JavaScript objects. Are undefined values handled (e.g. XQuery () vs JavaScript undefined)?
- I am using basex-node and having trouble binding objects in a query. I would like to have the object result in an XQUERY map. It would be nice if undefined values as defined above are handled as well. For now I have to do something like this'$x := map ' +JSON.stringify(obj).replace('
undefined', '()'). I hope this make sense.