WritableKeyPath to KeyedDecodingContainer

I've got an item of type WritableKeyPath<T, Double?> and then I'm trying to use that keypath in Decoder's decode method, but that wants something of type KeyedDecodingContainer.Key


Is there a way to get from the former to the latter?

WritableKeyPath to KeyedDecodingContainer
 
 
Q