I am using sjson in my golang project. I want to set some key-value pairs in my project. I have an unstructured dynamic object. So I can not know the path. It is like following:
{
"temp1": {
"temp2": {
"password": "123456",
"country": "turkey",
"temp3": {
"password": "789654"
}
}
}
}
I want to edit password values to "secret", but in my program I dont know the path. Is there any prefix-posfix etc... How can i handle this problem?