From 158ff907f8c11c48f2fc72568512049c518a9717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Endre=C3=9F?= Date: Fri, 23 Oct 2020 16:12:24 +0200 Subject: [PATCH] Okay fixed javadoc and stuff c.c --- utils/json/json-lib/pom.xml | 48 +++++++++++++++++++ .../syntaxapi/json/io/JsonParser.java | 6 ++- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/utils/json/json-lib/pom.xml b/utils/json/json-lib/pom.xml index e1f5c7e..8921dea 100644 --- a/utils/json/json-lib/pom.xml +++ b/utils/json/json-lib/pom.xml @@ -46,4 +46,52 @@ test + + + + maven-compiler-plugin + + 1.8 + 1.8 + + + + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + diff --git a/utils/json/json-lib/src/main/java/com/syntaxphoenix/syntaxapi/json/io/JsonParser.java b/utils/json/json-lib/src/main/java/com/syntaxphoenix/syntaxapi/json/io/JsonParser.java index 6415d51..f846dbb 100644 --- a/utils/json/json-lib/src/main/java/com/syntaxphoenix/syntaxapi/json/io/JsonParser.java +++ b/utils/json/json-lib/src/main/java/com/syntaxphoenix/syntaxapi/json/io/JsonParser.java @@ -15,7 +15,11 @@ public class JsonParser implements TextDeserializer> { public JsonValue fromReader(Reader reader) throws IOException, JsonSyntaxException { return read(new JsonReader(reader)); } - + + /* + * WIP c.c + */ + protected JsonValue read(JsonReader reader) throws IOException, JsonSyntaxException { JsonToken token = reader.next(); switch (token) {