Can you use `JSONDecoder` for decoding your attributes and contentState

Watching WWDC video: https://developer.apple.com/videos/play/wwdc2023/10185/?time=481

It says:

So when encoding your content state, do not set any custom encoding strategies. Otherwise, your JSON will be mismatched, and the system will fail to update your Live Activity

So I'm just wondering if using JSONDecoder is allowed for decoding apps payloads for the UI of a Live Activity? Or is there a performance hit for this?

Can you use `JSONDecoder` for decoding your attributes and contentState
 
 
Q