I have the following input json:
{
"a": "value1",
"b": [
{
"X": 1234
},
{
"X": 4567
}
]
}
I want the integer values to be converted to a string. Basically add double quotes to the integer. Desired output is:
{
"a": "value1",
"b": [
{
"X": "1234" // want to add double quotes
},
{
"X": "4567" // want to add double quotes
}
]
}
How do I achieve this? Thanks in advance.