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