fix for parsing nulls when validating

This commit is contained in:
Grahame Grieve 2020-03-28 06:13:31 +11:00
parent 32b0563ea1
commit 9a55346de5
1 changed files with 3 additions and 0 deletions

View File

@ -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";
} }