Let\'s say I have a Swift Dictionary expressing a Core Haptics pattern. How can I serialize this to a JSON AHAP file?
For example, d is a valid pattern d
d