fix for parsing nulls when validating
This commit is contained in:
parent
32b0563ea1
commit
9a55346de5
|
@ -243,6 +243,9 @@ public class JsonParser extends ParserBase {
|
||||||
if (e instanceof JsonObject) {
|
if (e instanceof JsonObject) {
|
||||||
return "an object";
|
return "an object";
|
||||||
}
|
}
|
||||||
|
if (e instanceof JsonNull) {
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
return "a primitive property";
|
return "a primitive property";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue