how to sereilaze a key and value type of dictionay into json format in swift code example Example: convert dictionary to json serialization swift 4 ["A":123, "B":455]