Skip to content

Commit 0d53faf

Browse files
committed
Reproduce the same DoS for Jackson-module-scala playframework/play-json#180
1 parent 354d502 commit 0d53faf

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

jsoniter-scala-benchmark/src/test/scala/com/github/plokhotnyuk/jsoniter_scala/macros/ArrayOfZonedDateTimesBenchmarkSpec.scala

+6-10
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ class ArrayOfZonedDateTimesBenchmarkSpec extends BenchmarkSpecBase {
77

88
"ArrayOfZonedDateTimesBenchmark" should {
99
"deserialize properly" in {
10-
/*
11-
benchmark.readAVSystemGenCodec() shouldBe benchmark.obj
12-
benchmark.readCirce() shouldBe benchmark.obj
13-
benchmark.readJacksonScala() shouldBe benchmark.obj
14-
benchmark.readJsoniterScala() shouldBe benchmark.obj
15-
*/
16-
benchmark.readPlayJson() shouldBe benchmark.obj
17-
/*
18-
benchmark.readUPickle() shouldBe benchmark.obj
19-
*/
10+
// benchmark.readAVSystemGenCodec() shouldBe benchmark.obj
11+
// benchmark.readCirce() shouldBe benchmark.obj
12+
benchmark.readJacksonScala() shouldBe benchmark.obj
13+
// benchmark.readJsoniterScala() shouldBe benchmark.obj
14+
// benchmark.readPlayJson() shouldBe benchmark.obj
15+
// benchmark.readUPickle() shouldBe benchmark.obj
2016
}
2117
"serialize properly" in {
2218
/*

0 commit comments

Comments
 (0)