Generate a Codec to serialize / deserialize this constructed literal.
Generate a Codec to serialize / deserialize this constructed literal.
( ("depth1" / "depth2" / "depth3").parsed(CaseClassCodec.from[XXX]) ++ ("depth1" / "depth2" / "depth4").parsed(CaseClassCodec.from[YYY]) ).apply(ZZZ.apply)(ZZZ.unapply)
be equal
{ "depth1": { "depth2": { "depth3": "xxx", "depth4": "yyy" } } }
Internal codec type