In python, trying to convert the key-value pair from integer to string.
Input:
data = [
{'code': 123456, 'value': 32},
{'code': 987654, 'value': 12}
]
Expected Output
data = [
{'code': '123456', 'value': 32},
{'code': '987654', 'value': 12}
]
Trying for code-value.
question from:https://stackoverflow.com/questions/66053219/python-unable-to-convert-integer-to-string-jsons-value