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
// Borrowed from an amazing work of Aleksander Rainko: https://github.com/arainko/ducktape/blob/8d779f0303c23fd45815d3574467ffc321a8db2b/ducktape/src/main/scala/io/github/arainko/ducktape/internal/ProductConstructor.scala#L22
Copy file name to clipboardExpand all lines: jsoniter-scala-next-tests/shared/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNamedTupleSpec.scala
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,24 @@ class JsonCodecMakerNamedTupleSpec extends VerifyingSpec {
8
8
"serialize and deserialize Scala 3 named tuples" in {
9
9
verifySerDeser(make[(i: Int, s: String)], (i =1, s ="VVV"), """{"i":1,"s":"VVV"}""")
10
10
}
11
+
"serialize and deserialize Scala 3 named tuples with generic tuple for names" in {
0 commit comments