Closed zbyna closed 9 years ago
fixed
Actually no for-in-process worked reliable.
You had to do it with another variable:
w := process(str,'for $pr in jn:parse-json(.)("results")()' +
'return [$pr("title"), $pr("release_date") ]');
for v in w do ...
Also, is str JSON or JSON in XML? Because former was changed from the jn:parse-json(.)("results")
syntax to $json("results")
(Also, you never need a for loop if there is only a single variable You can write it as ("results")() ! [ .("title"), .("release_date") ])
Hi, thanks for this great library. :clap: I had something like small issue with finishing enumerator after proceeding the first item:
after splitting the code enumerator passed through all items: