You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,6 @@ final class stringified extends StaticAnnotation
56
56
* arrays or collections (turned on by default)
57
57
* @paramtransientNone a flag that turns on skipping serialization of fields that have empty values of
58
58
* options (turned on by default)
59
-
* @paramtransientNull a flag that turns on skipping serialization of fields that have null values of
60
-
* objects (turned off by default)
61
59
* @paramrequireCollectionFields a flag that turn on checking of presence of collection fields and forces
62
60
* serialization when they are empty
63
61
* @parambigDecimalPrecision a precision in 'BigDecimal' values (34 by default that is a precision for decimal128,
@@ -103,6 +101,8 @@ final class stringified extends StaticAnnotation
103
101
* when the codec derived is for an ADT leaf class and not the ADT base class. Note that
104
102
* this flag has no effect on generated decoders -- that is this flag does NOT cause
105
103
* decoders to start requiring the discriminator field when they are not strictly necessary
104
+
* @paramtransientNull a flag that turns on skipping serialization of fields that have null values of
105
+
* objects (turned off by default)
106
106
*/
107
107
classCodecMakerConfigprivate[macros] (
108
108
valfieldNameMapper:NameMapper,
@@ -115,7 +115,6 @@ class CodecMakerConfig private[macros] (
115
115
valtransientDefault:Boolean,
116
116
valtransientEmpty:Boolean,
117
117
valtransientNone:Boolean,
118
-
valtransientNull:Boolean,
119
118
valrequireCollectionFields:Boolean,
120
119
valbigDecimalPrecision:Int,
121
120
valbigDecimalScaleLimit:Int,
@@ -135,7 +134,8 @@ class CodecMakerConfig private[macros] (
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNewTypeSpec.scala
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,29 @@ case class IArrays(aa: IArray[IArray[Int]], a: IArray[BigInt])
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNullableSpec.scala
0 commit comments