This PR adds JSON encoding and decoding support derived from Schema[A] using
DynamicValue as the intermediate representation. #679
Introduces a minimal Json ADT for representing JSON values
Adds JsonEncoder[A] and JsonDecoder[A] typeclasses
Provides schema-based derivation following the existing pattern:
Schema[A] ⇄ DynamicValue ⇄ Json
No Deriver / no reflection / no registers
Does not modify Schema itself
Implementation is small, explicit, and consistent with the current codec design
schema.fromDynamicValue, so incorrect cases fail safely.Added focused tests covering:
scalafmtCheckAll)/claim #679
Akshat Thakur
@Akshatthakur22
ZIO
@ZIO
Jacques Anidjar
@jacanidjar