encode(to:) Declarationfunc encode(to encoder: any Encoder) throws See AlsoSerializing objectsencode(to:)