> After that, I'm afraid we've got some more substantive changes to be made to
> JSON-ify this module. I'll update the bug with details. If you'd like, we
> could merge this first pass (after you've addressed the coding guidelines
> issues) and then have a separate proposal for the JSONiq updates; otherwise
> you can continue working on this branch.
I worked in the changes, please check it, also added some testcases for the new behavior.
> After that, I'm afraid we've got some more substantive changes to be made to
> JSON-ify this module. I'll update the bug with details. If you'd like, we
> could merge this first pass (after you've addressed the coding guidelines
> issues) and then have a separate proposal for the JSONiq updates; otherwise
> you can continue working on this branch.
I worked in the changes, please check it, also added some testcases for the new behavior.