Closed karenetheridge closed 4 years ago
This is indeed a bug. And unfortunately, I don't know how to fix it. Last time I encountered this case, I added a quick fix/hack:
I'm not proud of that line, but that's unfortunately how it is now... I think if anyone provides a fix for this issue, then L571 and L572 can be removed as well.
I'm closing this issue, since there does not seem to better fix available.
Is there harm in leaving it open? I've been trying to find time to work on it, as I'll need this feature for an upcoming project. :(
I'll reopen the issue if you let me know what's wrong with the fix.
I don't understand -- what fix are you referring to?
please reopen this -- it is still a problem.
This script:
gives:
Inspecting the stack trace, it looks like it cannot parse the part of the schema spec that says
default=>true
for theobject
definition?$r
is supposed to be a hashref on line 929 but instead it is just aJSON::PP::true
.This is with JSON::Validator 3.11 on perl 5.26.3, darwin (OSX).