Key Value Pairs Conversion has me scratching my head
I have an object that looks like this:
{
"KeyValueOfstringstring": [
{
"Key": "FET",
"Value": ""
},
{
"Key": "FFS2",
"Value": "Z"
},
{
"Key": "LoadIndex",
"Value": "91"
},
{
"Key": "Ply",
"Value": ""
}
]
}
And would like to transform it to look like this:
{
"KeyValueOfstringstring": [
{
"FET": 123
},
{
"FFS2": "Z"
},
{
"LoadIndex": 91
},
{
"Ply": "B"
}
]
}
I have been trying to figure out a way to make this happen but i have not been able to it, has anyone done this or has an idea on how to do it?