swift 5 convert dictionary to json code example Example: convert dictionary to json serialization swift 4 ["A":123, "B":455]