Re: [Oorexx-devel] Ad empty array in json data

2020-06-14 Thread Rony G. Flatscher
You were faster! :) Do you therefore want to comment on the bug ? ---rony On 14.06.2020 19:14, Rick McGuire wrote: > Nope, I was wrong on this one. The problem here is the JSON data is > malformed. The data has this:  > "Ratings:" >

Re: [Oorexx-devel] Ad empty array in json data

2020-06-14 Thread Rony G. Flatscher
On 14.06.2020 19:07, Rick McGuire wrote: > There's already code in there to return an empty array. I suspect the problem > is the newline > character before the "[". It is not being recognized as an array item. That led me look closer to the test data: "Ratings:"

Re: [Oorexx-devel] Ad empty array in json data

2020-06-14 Thread Rick McGuire
Nope, I was wrong on this one. The problem here is the JSON data is malformed. The data has this: "Ratings:" [], but it should be this: "Ratings": [], The name delimiter is inside the quotes, not outside. Looks like a lazy coding erro

Re: [Oorexx-devel] Ad empty array in json data

2020-06-14 Thread Rick McGuire
There's already code in there to return an empty array. I suspect the problem is the newline character before the "[". It is not being recognized as an array item. Rick On Sun, Jun 14, 2020 at 12:57 PM Rony G. Flatscher wrote: > reports an error wit