Skip to content

Commit 472ad22

Browse files
authored
Rollback .withTransient... for faster serialization
1 parent 1a48c7a commit 472ad22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsoniter-scala-benchmark/shared/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/benchmark/JsoniterScalaCodecs.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ object JsoniterScalaCodecs {
6969
make(CodecMakerConfig.withCheckFieldDuplication(false).withTransientDefault(false).withAllowRecursiveTypes(true)) // WARNING: It is an unsafe option for open systems
7070
implicit val offsetDateTimeArrayCodec: JsonValueCodec[Array[OffsetDateTime]] = make
7171
implicit val offsetTimeArrayCodec: JsonValueCodec[Array[OffsetTime]] = make
72-
implicit val openRTB25Codec: JsonValueCodec[OpenRTB.BidRequest] =
73-
make(CodecMakerConfig.withTransientNone(false).withTransientEmpty(false))
72+
implicit val openRTB25Codec: JsonValueCodec[OpenRTB.BidRequest] = make
7473
implicit val periodArrayCodec: JsonValueCodec[Array[Period]] = make
7574
implicit val shortArrayCodec: JsonValueCodec[Array[Short]] = make
7675
implicit val uuidArrayCodec: JsonValueCodec[Array[UUID]] = make

0 commit comments

Comments
 (0)