From 5c2e5a3d5b3d36706f161a56489e0a2b2ba47cb8 Mon Sep 17 00:00:00 2001 From: irengrig Date: Mon, 7 Mar 2016 15:26:09 +0100 Subject: [PATCH] WEB-20555 JSON Schema: recognize comments --- json/src/com/jetbrains/jsonSchema/impl/JsonSchemaReader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaReader.java b/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaReader.java index 679e6a3afab7..e31f6a1b24da 100644 --- a/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaReader.java +++ b/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaReader.java @@ -24,6 +24,7 @@ public class JsonSchemaReader { public JsonSchemaObject read(@NotNull final Reader reader) throws IOException { final JsonReader in = new JsonReader(reader); + in.setLenient(true); in.beginObject(); final JsonSchemaObject object = new JsonSchemaObject();