Hi,
In the json:serialize() function, the ‘indent’ option does not seem to be accepted. Is it an outdated option?
For example, the following returns “Unknown option ‘indent’.” in BaseX 8.2.1.
json:serialize(
json:parse('[{"a":"b"}]'),
map {'indent':'no'}
)
The ‘indent’ option doesn’t work for json:parse() either, though the doc does not suggest it should.
Thanks,
Amanda