From f75b3093f8c176128cbd28236e7c99ee8d09bf1f Mon Sep 17 00:00:00 2001 From: wycst Date: Tue, 2 Jul 2024 23:34:48 +0800 Subject: [PATCH] Updated the WAST version (#106) --- README.md | 2 +- build.gradle | 2 +- .../com/github/fabienrenaud/jjb/databind/Deserialization.java | 2 +- .../com/github/fabienrenaud/jjb/databind/Serialization.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 55b24f5..153b36e 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ The results here-below were computed on January the 30th, 2024 with the followin | tapestry | 5.8.3 | | underscore | 1.97 | | yasson | 3.0.3 | -| wast | 0.0.12.1 | +| wast | 0.0.13.2 | [All graphs and sheets are available in this google doc.][spreadsheet] diff --git a/build.gradle b/build.gradle index 8ba6bd6..f6992e9 100644 --- a/build.gradle +++ b/build.gradle @@ -99,7 +99,7 @@ dependencies { // QuickBuffers implementation group: 'us.hebi.quickbuf', name: 'quickbuf-runtime', version: '1.4' // wast - implementation group: 'io.github.wycst', name: 'wast', version: '0.0.12.1' + implementation group: 'io.github.wycst', name: 'wast', version: '0.0.13.2' // Test testImplementation group: 'junit', name: 'junit', version: '4.13.2' diff --git a/src/main/java/com/github/fabienrenaud/jjb/databind/Deserialization.java b/src/main/java/com/github/fabienrenaud/jjb/databind/Deserialization.java index 72511e3..c8567e9 100644 --- a/src/main/java/com/github/fabienrenaud/jjb/databind/Deserialization.java +++ b/src/main/java/com/github/fabienrenaud/jjb/databind/Deserialization.java @@ -153,6 +153,6 @@ public Object quickbuf_json() throws Exception { @Benchmark @Override public Object wast() throws Exception { - return io.github.wycst.wast.json.JSON.parseObject(JSON_SOURCE().nextString(), JSON_SOURCE().pojoType(), ReadOption.UseJDKDoubleParser); + return io.github.wycst.wast.json.JSON.parseObject(JSON_SOURCE().nextString(), JSON_SOURCE().pojoType()); } } diff --git a/src/main/java/com/github/fabienrenaud/jjb/databind/Serialization.java b/src/main/java/com/github/fabienrenaud/jjb/databind/Serialization.java index b31296b..89738b4 100644 --- a/src/main/java/com/github/fabienrenaud/jjb/databind/Serialization.java +++ b/src/main/java/com/github/fabienrenaud/jjb/databind/Serialization.java @@ -187,7 +187,7 @@ public Object quickbuf_json() throws Exception { @Override public Object wast() throws Exception { ByteArrayOutputStream baos = JsonUtils.byteArrayOutputStream(); - io.github.wycst.wast.json.JSON.writeJsonTo(JSON_SOURCE().nextPojo(), baos, WriteOption.WriteDecimalUseToString); + io.github.wycst.wast.json.JSON.writeJsonTo(JSON_SOURCE().nextPojo(), baos); return baos; } }