I have some JSON data like the one below and want to add another county with a city name. How do I add it?
My current JSON data looks like the following:
{
"state" : "WA",
"county" : {
"king" : {
"Seattle" : [ "r", "d", "n" ],
"Kirkland" : [ "r", "d", "w" ]
},
"queen" : {
"Edmonds" : [ "r" ]
}
}
}
Expected JSON data should look like the following:
{
"state" : "WA",
"county" : {
"king" : {
"Seattle" : [ "r", "d", "n" ],
"Kirkland" : [ "r", "d", "w" ]
},
"queen" : {
"Edmonds" : [ "r" ]
}
"prince" : {
"Lynnwood" : [ "r", "d", "w" ]
}
}
}