Build Logs

zio/zio-json • 3.8.0:2026-01-13

Errors

0

Warnings

27

Total Lines

985

1##################################
2Clonning https://github.com/zio/zio-json.git into /build/repo using revision v0.8.0
3##################################
4Note: switching to 'd905472f36553b22bbdce6c3dd00446d0fb13f71'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Would override fixed Scala version: 3.3.7
22----
23Preparing build for 3.8.0
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: project/BuildHelper.scala
34Pattern: val Scala3: String = "3.3.7"
35Replacement: val Scala3: String = "3.8.0"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val Scala3: String = "3.3.7"' in project/BuildHelper.scala
40----
41Starting build for 3.8.0
42Execute tests: true
43sbt project found:
44No prepare script found for project zio/zio-json
45##################################
46Scala version: 3.8.0
47Targets: dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml
48Project projectConfig: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: ,REQUIRE:-source:3.8
51Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Xmx6g
58-Xss2m
59-XX:+UseG1GC
60-XX:InitialCodeCacheSize=512m
61-XX:ReservedCodeCacheSize=512m
62-Dfile.encoding=UTF8
63-Dcommunitybuild.scala=3.8.0
64-Dcommunitybuild.project.dependencies.add=
65-Xmx7G
66-Xms4G
67-Xss8M
68-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
69-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
70-jar
71/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
72"setCrossScalaVersions 3.8.0"
73"++3.8.0 -v"
74"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
75"set every credentials := Nil"
76"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
77"removeScalacOptionsStartingWith -P:wartremover"
78
79moduleMappings
80"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" dev.zio%zio-json dev.zio%zio-json-golden dev.zio%zio-json-interop-http4s dev.zio%zio-json-interop-refined dev.zio%zio-json-yaml"
81
82[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
83[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
84[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
85[info] loading project definition from /build/repo/project
86[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
87[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
88[info] Compilation completed in 9.13s.
89[info] done compiling
90[info] loading settings for project zioJsonRoot from build.sbt...
91[info] resolving key references (22985 settings) ...
92[info] set current project to zioJsonRoot (in build file:/build/repo/)
93Execute setCrossScalaVersions: 3.8.0
94OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonNative/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonInteropRefinedNative/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonInteropRefinedJS/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonInteropRefinedJVM/crossScalaVersions
98OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonJVM/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List() -> List(2.13.18) in zioJsonRoot/crossScalaVersions
100OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonInteropHttp4s/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonGolden/crossScalaVersions
102OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonYaml/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in zioJsonJS/crossScalaVersions
104[info] set current project to zioJsonRoot (in build file:/build/repo/)
105[info] Setting Scala version to 3.8.0 on 9 projects.
106[info] Switching Scala version on:
107[info] zioJsonJS (2.12.21, 2.13.18, 3.8.0)
108[info] zioJsonInteropRefinedNative (2.12.21, 2.13.18, 3.8.0)
109[info] zioJsonInteropHttp4s (2.12.21, 2.13.18, 3.8.0)
110[info] zioJsonYaml (2.12.21, 2.13.18, 3.8.0)
111[info] zioJsonInteropRefinedJS (2.12.21, 2.13.18, 3.8.0)
112[info] zioJsonNative (2.12.21, 2.13.18, 3.8.0)
113[info] zioJsonGolden (2.12.21, 2.13.18, 3.8.0)
114[info] zioJsonJVM (2.12.21, 2.13.18, 3.8.0)
115[info] zioJsonInteropRefinedJVM (2.12.21, 2.13.18, 3.8.0)
116[info] Excluding projects:
117[info] zioJsonMacrosJVM (2.12.21, 2.13.18)
118[info] docs (2.13.18)
119[info] * zioJsonRoot (2.13.18)
120[info] zioJsonMacrosNative (2.12.21, 2.13.18)
121[info] zioJsonInteropScalaz7xJVM (2.12.21, 2.13.18)
122[info] zioJsonInteropScalaz7xJS (2.12.21, 2.13.18)
123[info] zioJsonInteropScalaz7xNative (2.12.21, 2.13.18)
124[info] zioJsonMacrosJS (2.12.21, 2.13.18)
125[info] Reapplying settings...
126[info] set current project to zioJsonRoot (in build file:/build/repo/)
127Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
128[info] Reapplying settings...
129[info] set current project to zioJsonRoot (in build file:/build/repo/)
130[info] Defining Global / credentials, credentials and 15 others.
131[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 156 others.
132[info] Run `last` for details.
133[info] Reapplying settings...
134[info] set current project to zioJsonRoot (in build file:/build/repo/)
135Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
136[info] Reapplying settings...
137OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
138
139 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
140 Did you mean zioJsonInteropScalaz7xNative / allExcludeDependencies ?
141 , retry without global scopes
142[info] Reapplying settings...
143[info] set current project to zioJsonRoot (in build file:/build/repo/)
144Execute removeScalacOptionsStartingWith: -P:wartremover
145[info] Reapplying settings...
146[info] set current project to zioJsonRoot (in build file:/build/repo/)
147[success] Total time: 0 s, completed Jan 13, 2026, 4:16:32 PM
148Build config: {"projects":{"exclude":[],"overrides":{"zio-json-interop-refined":{"tests":"disabled"}}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = \"3.3.7\"","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
149Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map(zio-json-interop-refined -> ProjectOverrides(Some(Disabled)))),Full,List()))
150Starting build...
151Projects: Set(zioJsonInteropHttp4s, zioJsonYaml, zioJsonGolden, zioJsonJVM, zioJsonInteropRefinedJVM)
152Starting build for ProjectRef(file:/build/repo/,zioJsonInteropHttp4s) (zio-json-interop-http4s)... [0/5]
153OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
154OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
155OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
156Compile scalacOptions: -release:17, -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
157[info] compiling 36 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.0/classes ...
158[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala-3/zio/json/union_derivation.scala:53:13
159[warn] 53 | case o: Constant if o <:< bound && o.isSingleton =>
160[warn] | ^
161[warn] |the type test for x$1.reflect.Constant cannot be checked at runtime because it refers to an abstract type member or type parameter
162[warn] |
163[warn] | longer explanation available when compiling with `-explain`
164[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:24:32
165[warn] 24 | case JsonCursor.DownField(oldParent: JsonCursor[To, Json.Obj], name) =>
166[warn] | ^
167[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Obj] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Obj]
168[warn] |
169[warn] | longer explanation available when compiling with `-explain`
170[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:27:34
171[warn] 27 | case JsonCursor.DownElement(oldParent: JsonCursor[To, Json.Arr], index) =>
172[warn] | ^
173[warn] |the type test for zio.json.ast.JsonCursor[To, zio.json.ast.Json.Arr] cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, zio.json.ast.Json.Arr]
174[warn] |
175[warn] | longer explanation available when compiling with `-explain`
176[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala:30:33
177[warn] 30 | case JsonCursor.FilterType(oldParent: JsonCursor[To, _], tpe) =>
178[warn] | ^
179[warn] |the type test for zio.json.ast.JsonCursor[To, _] @_ cannot be checked at runtime because its type arguments can't be determined from zio.json.ast.JsonCursor[?, ? <: zio.json.ast.Json]
180[warn] |
181[warn] | longer explanation available when compiling with `-explain`
182[warn] four warnings found
183[info] done compiling
184[info] compiling 6 Scala sources to /build/repo/zio-json-interop-http4s/target/scala-3.8.0/classes ...
185[info] done compiling
186[info] compiling 1 Scala source to /build/repo/zio-json-interop-http4s/target/scala-3.8.0/test-classes ...
187[info] done compiling
188+ json instances
189 + jsonEncoderOf
190 + returns an EntityEncoder that can encode for the given effect and type
191 + jsonOf
192 + returns MalformedMessageBodyFailure when message body is not a json
193 + returns MalformedMessageBodyFailure when json is invalid
194 + returns MalformedMessageBodyFailure when json is empty
195 + returns an EntityDecoder that can decode for the given effect and type
1965 tests passed. 0 tests failed. 0 tests ignored.
197
198Executed in 1 s 857 ms
199
200Starting build for ProjectRef(file:/build/repo/,zioJsonYaml) (zio-json-yaml)... [1/5]
201Compile scalacOptions: -release:17, -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
202[info] compiling 4 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.0/classes ...
203[info] done compiling
204[info] compiling 2 Scala sources to /build/repo/zio-json-yaml/target/scala-3.8.0/test-classes ...
205[info] done compiling
206+ YamlDecoderSpec
207 + bool root
208 + scalar root
209 + object root, different indentation
210 + float root
211 + object root
212 + sequence root
213+ YamlEncoderSpec
214 + object root
215 + object root with object in a sequence
216 + scalar root
217 + object root, with extension method
218 + large number
219 + special characters in string
220 + multiline string quoted
221 + multiline string
222 + nonprintable string escape
223 + sequence root
224 + nonprintable string binary
225 + indentation settings
22618 tests passed. 0 tests failed. 0 tests ignored.
227
228Executed in 577 ms
229
230Starting build for ProjectRef(file:/build/repo/,zioJsonInteropRefinedJVM) (zio-json-interop-refined)... [2/5]
231Compile scalacOptions: -release:17, -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
232[info] compiling 2 Scala sources to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.0/classes ...
233[info] done compiling
234[info] compiling 1 Scala source to /build/repo/zio-json-interop-refined/jvm/target/scala-3.8.0/test-classes ...
235[info] done compiling
236Starting build for ProjectRef(file:/build/repo/,zioJsonGolden) (zio-json-golden)... [3/5]
237Compile scalacOptions: -release:17, -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
238[info] compiling 5 Scala sources to /build/repo/zio-json-golden/target/scala-3.8.0/classes ...
239[info] done compiling
240[info] compiling 1 Scala source to /build/repo/zio-json-golden/target/scala-3.8.0/test-classes ...
241[info] done compiling
242+ GoldenSpec
243 + golden test for Int
244 + golden test for Int
245 + golden test for SumType
246 + golden test for SumType
247 + golden test for RecordType
248 + golden test for RecordType
249 + golden test for FilteredGenType
2507 tests passed. 0 tests failed. 0 tests ignored.
251
252Executed in 651 ms
253
254Starting build for ProjectRef(file:/build/repo/,zioJsonJVM) (zio-json)... [4/5]
255Compile scalacOptions: -release:17, -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
256[info] compiling 24 Scala sources to /build/repo/zio-json/jvm/target/scala-3.8.0/test-classes ...
257[warn] there were 6 deprecation warnings; re-run with -deprecation for details
258[warn] one warning found
259[info] done compiling
260+ Encoder
261 + toJsonAST
262 + primitives
263 + char
264 + numerics
265 + strings
266 + boolean
267 + options
268 + eithers
269 + collections
270 + java.util.UUID
271 + parameterless products
272 + tuples
273 + products
274 + sum encoding
275 + sum encoding with hint names
276 + sum alternative encoding
277 + sum alternative encoding with hint names
278 + alias
279 + toJson
280 + strings
281 + BigInt
282 + BigDecimal
283 + options
284 + primitives
285 + boolean
286 + char
287 + short
288 + byte
289 + float
290 + int
291 + long
292 + double
293 + Map, custom keys
294 + Map, UUID keys
295 + java.util.UUID
296 + java.util.Currency
297 + parameterless products
298 + tuples
299 + products
300 + sum encoding
301 + sum encoding with enumValuesAsStrings = true
302 + sum encoding with enumValuesAsStrings = false
303 + sum alternative encoding
304 + collections
305 + exclude fields
306 + aliases
307 + eithers
308+ Decoder
309 + googleMapsExtra
310 + googleMapsError
311 + excessively nested structures
312 + googleMapsAst
313 + twitter
314 + googleMapsCompact
315 + geojson1 alt
316 + geojson1
317 + jawn
318 + bar
319 + bla2
320 + bla25
321 + countries.geo
322 + foo
323 + dkw-sample
324 + qux2
325 + qux1
326 + ugh10k
327 + geojson2
328 + googleMapsNormal
329 + geojson2 lowlevel
330 + ZIO Streams integration
331 + decodes a stream of chars
332 + decodes an encoded stream of bytes
333 + combinators
334 + test JsonDecoder.orElse
335 + test hand-coded alternative in `orElse` comment
336 + decodeJsonPipeline
337 + Array delimited
338 + decodes single elements
339 + handles whitespace leniently
340 + empty array
341 + decodes multiple elements
342 + Newline delimited
343 + accepts trailing NL
344 + decodes multiple elements
345 + decodes single elements
346 + is interruptible
347 + decodes multiple elements when fed in smaller chunks
348 + errors
349 + helpers in zio.json
350 + readJsonLines reads from URLs
351 + readJsonLines reads from files
352+ CodecSpec
353 + Codec regressions
354 + option in recursive structure
355 + Encode -> Decode
356 + control chars
357 + form feed
358 + newline
359 + carriage return
360 + tab
361 + backspace
362 + escape
363 + quote
364 + Decoding
365 + eithers
366 + java.util.Currency
367 + primitives
368 + empty
369 + parameterless products
370 + no extra fields
371 + sum encoding
372 + sum encoding with hint names
373 + sum alternative encoding
374 + sum alternative encoding with hint names
375 + key transformation
376 + key transformation - except native
377 + unicode
378 + Seq
379 + Vector
380 + SortedSet
381 + HashSet
382 + Set
383 + Map
384 + ListMap
385 + zio.Chunk
386+ GeneratorSpec
387 + generates case classes from JSON strings
388 + simple object
389 + parse types
390 + parses LocalDate and LocalDateTime and ZonedDateTime
391 + nested objects
392 + unify types
393 + unify double and int to double
394 + unify Long and Int to Long
395 + unify missing keys to Option
396 + unify nulls and present keys to Option
397+ AnnotationsCodecSpec
398 + annotations overrides AST
399 + use explicit null values
400 + should prevent extra fields
401 + should specify discriminator
402 + should override field name mapping
403 + do not write empty collections
404 + annotations overrides
405 + should override field name mapping
406 + should prevent extra fields
407 + should override sum type mapping
408 + should specify discriminator
409 + use explicit null values
410 + do not write empty collections
411 + explicit empty collections
412 + should not write empty collections and fail missing empty collections
413 + for an indexed seq
414 + for a chunk
415 + for a seq
416 + for an array
417 + for a linear seq
418 + for a list set
419 + for a treeSet
420 + for a list
421 + for a vector
422 + for a set
423 + for a hash set
424 + for a sorted set
425 + for a map
426 + for a hashMap
427 + for a mutable map
428 + for a sorted map
429 + for a list map
430 + should fill in missing empty collections and write empty collections
431 + for an indexed seq
432 + for a chunk
433 + for a seq
434 + for an array
435 + for a linear seq
436 + for a list set
437 + for a tree set
438 + for a list
439 + for a vector
440 + for a set
441 + for a hash set
442 + for a sorted set
443 + for a map
444 + for a hash map
445 + for a mutable map
446 + for a sorted map
447 + for a list map
448+ DecoderVersionSpecific
449 + fromJsonAST
450 + ArraySeq
451 + fromJson
452 + Derives for a sum enum Enumeration type with enumValuesAsStrings = false
453 + Derives for a sum enum Enumeration type
454 + Derives for a product type
455 + ArraySeq
456 + Derives for a sum sealed trait Enumeration type
457 + Derives for a sum sealed trait Enumeration type with enumValuesAsStrings = false
458 + Derives for a sum sealed trait Enumeration type with discriminator
459 + skip JSON encoded in a string value
460 + Derives for a recursive sum ADT type
461 + Derives and decodes for a union of string-based literals
462 + Derives and decodes for a custom map key string-based union type
463+ Decoder
464 + fromJsonAST
465 + byte
466 + char
467 + string
468 + boolean
469 + short
470 + int
471 + long
472 + float
473 + double
474 + BigDecimal
475 + java.math.BigDecimal
476 + BigInteger
477 + BigInt
478 + eithers
479 + parameterless products
480 + no extra fields
481 + preserve error path
482 + errors are consistent with direct decoding
483 + default field value
484 + product with more than 64 fields
485 + aliases
486 + sum encoding
487 + sum alternative encoding
488 + dynamic default value
489 + Seq
490 + IndexedSeq
491 + LinearSeq
492 + ListSet
493 + TreeSet
494 + Vector
495 + SortedSet
496 + HashSet
497 + Set
498 + Map
499 + SortedMap
500 + ListMap
501 + Map, custom keys
502 + zio.Chunk
503 + zio.NonEmptyChunk
504 + java.util.UUID
505 + fromJson
506 + string
507 + byte
508 + boolean
509 + char
510 + short
511 + int
512 + long
513 + float
514 + double
515 + BigDecimal
516 + java.math.BigDecimal
517 + BigInteger
518 + BigInt
519 + collections
520 + eithers
521 + tuples
522 + tuples - ast
523 + parameterless products
524 + typical
525 + no extra fields
526 + aliases
527 + aliases - alias collides with field name
528 + aliases - alias collides with another alias
529 + aliases - double alias
530 + option
531 + option - fromJsonAST
532 + default field value
533 + sum encoding
534 + dynamic default value
535 + sum encoding with enumValuesAsStrings = true
536 + sum encoding with enumValuesAsStrings = false
537 + sum encoding with hint names
538 + sum alternative encoding
539 + sum alternative encoding with hint names
540 + sum with more than 64 cases
541 + sum with duplicated case names
542 + unicode
543 + Option: .map on derived JsonDecoder with missing value
544 + Seq
545 + Vector
546 + SortedSet
547 + HashSet
548 + Set
549 + Map
550 + Map with unicode keys
551 + Map with Int keys
552 + Map with Long keys
553 + Map with UUID keys
554 + zio.Chunk
555 + zio.NonEmptyChunk
556 + zio.NonEmptyChunk failure
557 + java.util.UUID
558 + java.util.Currency
559 + java.time.Duration
560 + java.time.ZonedDateTime
561 + bothWith
562 + bothWith - ast
563 + option custom codec
564+ EncoderVesionSpecific
565 + toJsonAST
566 + collections
567 + toJson
568 + Derives for a sum enum Enumeration type
569 + Derives for a product type
570 + IArray
571 + collections
572 + Derives for a sum enum Enumeration type with enumValuesAsStrings = false
573 + Derives for a sum enum Enumeration type with discriminator
574 + Derives for a sum sealed trait Enumeration type
575 + Derives for a sum ADT type
576 + Derives and encodes for a union of string-based literals
577 + Derives and encodes for a custom map key string-based union type
578+ java.time
579 + Decoder Sad Path
580 + LocalDateTime
581 + LocalDate
582 + Instant
583 + Duration
584 + LocalTime
585 + MonthDay
586 + OffsetDateTime
587 + OffsetTime
588 + Period
589 + Year
590 + YearMonth
591 + ZonedDateTime
592 + ZoneId
593 + ZoneOffset
594 + Decoder
595 + Instant
596 + Duration
597 + DayOfWeek fromJsonAST
598 + DayOfWeek fromJson
599 + LocalDate
600 + LocalDateTime
601 + Month fromJsonAST
602 + MonthDay
603 + OffsetDateTime
604 + LocalTime
605 + Month fromJson
606 + OffsetTime
607 + Period
608 + ZonedDateTime
609 + ZoneId
610 + ZoneOffset
611 + Year
612 + YearMonth
613 + Encoder
614 + DayOfWeek toJson
615 + Duration toJsonAST
616 + Duration toJson
617 + DayOfWeek toJsonAST
618 + Instant toJson
619 + Instant toJsonAST
620 + LocalDate toJson
621 + LocalDate toJsonAST
622 + LocalDateTime toJsonAST
623 + Month toJson
624 + Month toJsonAST
625 + MonthDay toJson
626 + MonthDay toJsonAST
627 + OffsetDateTime toJson
628 + OffsetDateTime toJsonAST
629 + OffsetTime toJson
630 + OffsetTime toJsonAST
631 + Period toJson
632 + Period toJsonAST
633 + Year toJson
634 + Year toJsonAST
635 + YearMonth toJson
636 + YearMonth toJsonAST
637 + ZonedDateTime toJson
638 + ZonedDateTime toJsonAST
639 + ZoneId toJson
640 + ZoneId toJsonAST
641 + ZoneOffset toJson
642 + ZoneOffset toJsonAST
643 + LocalDateTime toJson
644 + LocalTime toJson
645 + LocalTime toJsonAST
646+ Carter
647 + simple left
648 + https://github.com/zio/zio-json/issues/209
649 + case class 1 field
650 + simple right
651 + whitespace showing no retract call
652+ Json
653 + hashCode
654 + objects with the same elements regardless of order have the same hashCode
655 + equals
656 + equality fails for different objects of different sizes
657 + equality fails for different objects of the same size with different keys
658 + object order does not matter for equality
659 + mismatched Json subtypes
660 + delete
661 + nested
662 + failure
663 + success
664 + scalar
665 + failure
666 + success
667 + foldUp
668 + folds the structure bottom-up (starting at the leaves)
669 + foldDown
670 + folds the structure top-down (starting at the root)
671 + apply
672 + (Chunk.empty)
673 + ()
674 + Bool()
675 + Num()
676 + Obj()
677 + arrays with the same elements in a different order will not have the same hashCode
678 + arrays with the same elements in the same order will have the same hashCode
679 + merge
680 + object + object
681 + object, deep
682 + array
683 + scalar
684 + relocate
685 + nested
686 + success
687 + failure - from
688 + failure - to
689 + get
690 + downField
691 + downElement
692 + filterType
693 + >>>, object
694 + >>>, array, filterType
695 + >>>, array, filterType (second operand of >>> is complex)
696 + >>>, combination of some methods of JsonCursor (second operand of >>> is complex)
697 + >>>, identity
698 + intersect
699 + object + object
700 + object, deep
701 + array
702 + array - duplicates
703 + scalar
704 + transformAt
705 + scalar
706 + success
707 + failure
708 + nested
709 + success
710 + failure
711+ ConfigurableDeriveCodecSpec
712 + override AST defaults
713 + use explicit null values
714 + should prevent extra fields
715 + should specify discriminator
716 + should override field name mapping
717 - fail on decoding missing explicit nulls - ignored: 1
718 + do not write empty collections
719 + override defaults
720 + should prevent extra fields
721 + should override sum type mapping
722 + should specify discriminator
723 + should override field name mapping
724 + use explicit null values
725 + do not write empty collections
726 + decode missing empty collections with defaults
727 + AST defaults
728 + do not write nulls by default
729 + should allow extra fields by default
730 + should not use discriminator by default
731 + should not map field names by default
732 + write empty collections by default
733 + fail on decoding missing empty collections by default
734 + defaults
735 + should not map field names by default
736 + do not write nulls by default
737 + should allow extra fields by default
738 + should not use discriminator by default
739 + do not fail on missing null values
740 + write empty collections by default
741 + fail on decoding missing empty collections by default
742 + explicit empty collections
743 + should fill in missing empty collections and write empty collections
744 + for an array
745 + for a seq
746 + for a chunk
747 + for an indexed seq
748 + for a linear seq
749 + for a list set
750 + for a tree set
751 + for a list
752 + for a vector
753 + for a set
754 + for a hash set
755 + for a sorted set
756 + for a map
757 + for a hash map
758 + for a mutable map
759 + for a sorted map
760 + for a list map
761 + for a transform collection
762 + for a transformOrFail collection
763 + should not write empty collections and fail missing empty collections
764 + for an array
765 + for a seq
766 + for a chunk
767 + for an indexed seq
768 + for a linear seq
769 + for a list set
770 + for a treeSet
771 + for a list
772 + for a vector
773 + for a set
774 + for a hash set
775 + for a sorted set
776 + for a map
777 + for a hashMap
778 + for a mutable map
779 + for a sorted map
780 + for a list map
781 + for a transform collection
782 + for a transformOrFail collection
783+ Encoder
784 + roundtrip
785 + google_maps_api_response
786 + twitter_api_response
787 + che.geo
788 + ZIO Streams integration
789 + encodes values that yield a result of length > DefaultChunkSize
790 + encodeJsonLinesPipeline
791 + encodes into a ZStream of Char
792 + encodeJsonArrayPipeline XYZ
793 + encodeJsonLinesPipeline handles elements which take up > DefaultChunkSize to encode
794 + encodeJsonArrayPipeline, empty stream
795 + helpers in zio.json
796 + writeJsonLines writes JSON lines
797+ JsonTestSuite
798 - passes all tests - ignored: 1
799+ CodecVersionSpecific
800 + ArraySeq
801 + Derives for a product type
802 + Derives and encodes for a union of string-based literals
803 + Derives for a sum type
804 + Custom codec for union of standard types using an internal API
805+ FieldEncoder
806 + encodeOrDefault
807 + CollectionEncoder
808 + should not encode empty collections when withExplicitEmptyCollections is false
809 + should encode empty collections when withExplicitEmptyCollections is true
810 + for a case class
811 + should encode case classes with empty collections when withExplicitEmptyCollections is true
812 + should encode case classes with empty options when withExplicitEmptyCollections is false, even when withExplicitNulls is true
813 + should encode case classes with empty collections when withExplicitEmptyCollections is false
814 + OptionEncoder
815 + should use the default encoding None when withExplicitNulls is false
816 + should encode None when withExplicitNulls is true
817+ SafeNumbers
818 + Byte
819 + ByteNone
820 + invalid (numbers)
821 + valid
822 + invalid (text)
823 + BigInt
824 + valid
825 + invalid edge cases
826 + valid edge cases
827 + invalid (text)
828 + BigInteger
829 + valid
830 + invalid edge cases
831 + valid edge cases
832 + invalid (text)
833 + BigDecimal
834 + invalid edge cases
835 + valid
836 + valid edge cases
837 + invalid (text)
838 + Double
839 + valid
840 + valid (from Int)
841 + valid (from Long)
842 + valid (from BigDecimal)
843 + valid magic doubles
844 + invalid edge cases
845 + valid edge cases
846 + DoubleNone
847 + invalid doubles (text)
848 + Int
849 + valid edge cases
850 + valid
851 + invalid (edge cases)
852 + invalid (out of range)
853 + IntNone
854 + invalid (text)
855 + Long
856 + valid edge cases
857 + invalid (edge cases)
858 + valid
859 + invalid (out of range)
860 + LongNone
861 + invalid (text)
862 + Float
863 + large mantissa
864 + valid
865 + valid (from Int)
866 + valid (from Long)
867 + invalid edge cases
868 + valid edge cases
869 + valid (from Double)
870 + valid (from BigDecimal)
871 + FloatNone
872 + invalid float (text)
873 + Short
874 + ShortNone
875 + valid
876 + invalid (out of range)
877 + invalid (text)
878+ StringMatrix
879 + basic positive succeeds
880 + trivial
881 + exact match is a substring
882 + substring fails
883 + negative fails
884 + positive succeeds
885 + first resolves to field index
886 + alias trivial
887 + alias exact match is a substring
888 + alias positive succeeds
889 + alias substring fails
890 + alias first resolves to aliased field index
891 + alias negative fails
892+ RoundTrip
893 + booleans
894 + bytes
895 + ints
896 + shorts
897 + longs
898 + floats
899 + AST
900 + bigInts
901 + bigDecimals
902 + doubles
903 + java.time
904 + DayOfWeek
905 + LocalDate
906 + LocalTime
907 + Month
908 + MonthDay
909 + Duration
910 + Instant
911 + OffsetDateTime
912 + Year
913 + OffsetTime
914 + Period
915 + ZoneId
916 + ZoneOffset
917 + YearMonth
918 + LocalDateTime
919 + ZonedDateTime
920567 tests passed. 0 tests failed. 2 tests ignored.
921
922Executed in 27 s 975 ms
923
924
925************************
926Build summary:
927[{
928 "module": "zio-json-interop-http4s",
929 "compile": {"status": "ok", "tookMs": 26744, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
930 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
931 "test-compile": {"status": "ok", "tookMs": 2195, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
932 "test": {"status": "ok", "tookMs": 3185, "passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5, "byFramework": [{"framework": "unknown", "stats": {"passed": 5, "failed": 0, "ignored": 0, "skipped": 0, "total": 5}}]},
933 "publish": {"status": "skipped", "tookMs": 0},
934 "metadata": {
935 "crossScalaVersions": ["2.12.21", "2.13.18", "3.3.7"]
936}
937},{
938 "module": "zio-json-yaml",
939 "compile": {"status": "ok", "tookMs": 1190, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
940 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
941 "test-compile": {"status": "ok", "tookMs": 2189, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
942 "test": {"status": "ok", "tookMs": 1215, "passed": 18, "failed": 0, "ignored": 0, "skipped": 0, "total": 18, "byFramework": [{"framework": "unknown", "stats": {"passed": 18, "failed": 0, "ignored": 0, "skipped": 0, "total": 18}}]},
943 "publish": {"status": "skipped", "tookMs": 0},
944 "metadata": {
945 "crossScalaVersions": ["2.12.21", "2.13.18", "3.3.7"]
946}
947},{
948 "module": "zio-json-interop-refined",
949 "compile": {"status": "ok", "tookMs": 707, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
950 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
951 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
952 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
953 "publish": {"status": "skipped", "tookMs": 0},
954 "metadata": {
955 "crossScalaVersions": ["2.12.21", "2.13.18", "3.3.7"]
956}
957},{
958 "module": "zio-json-golden",
959 "compile": {"status": "ok", "tookMs": 1250, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
960 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
961 "test-compile": {"status": "ok", "tookMs": 2443, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
962 "test": {"status": "ok", "tookMs": 1321, "passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7, "byFramework": [{"framework": "unknown", "stats": {"passed": 7, "failed": 0, "ignored": 0, "skipped": 0, "total": 7}}]},
963 "publish": {"status": "skipped", "tookMs": 0},
964 "metadata": {
965 "crossScalaVersions": ["2.12.21", "2.13.18", "3.3.7"]
966}
967},{
968 "module": "zio-json",
969 "compile": {"status": "ok", "tookMs": 69, "warnings": 4, "errors": 0, "sourceVersion": "3.8"},
970 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
971 "test-compile": {"status": "ok", "tookMs": 47198, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
972 "test": {"status": "ok", "tookMs": 28841, "passed": 567, "failed": 0, "ignored": 2, "skipped": 0, "total": 569, "byFramework": [{"framework": "unknown", "stats": {"passed": 567, "failed": 0, "ignored": 2, "skipped": 0, "total": 569}}]},
973 "publish": {"status": "skipped", "tookMs": 0},
974 "metadata": {
975 "crossScalaVersions": ["2.12.21", "2.13.18", "3.3.7"]
976}
977}]
978************************
979[success] Total time: 125 s (0:02:05.0), completed Jan 13, 2026, 4:18:38 PM
980[0JChecking patch project/plugins.sbt...
981Checking patch project/BuildHelper.scala...
982Checking patch build.sbt...
983Applied patch project/plugins.sbt cleanly.
984Applied patch project/BuildHelper.scala cleanly.
985Applied patch build.sbt cleanly.