Hi all,

Suppose I have a text file that contains only one line:
{"a", bad}

This is obviously not a valid json.

This input fails the this simple script:
b = load 'bad.input' using JsonLoader('a0: chararray');
dump b;


Same script works fine for this line:
{"a": "good"}

I was expecting that it will just skip the line and go further.

I could not find any bug report for this. Is anyone working on that?
In case if not, would you mind if I submit a patch for it?
A simple handling of exception seems to solve the problem.

Thanks,

Dimi.

Reply via email to