Reputation: 972
I have a JSON that is as follows
{
"Key1": "Value1",
"Key2": "Value2",
"Key3": {
"InnerKey1": "InnerValue1",
"InnerKey2": "InnerValue2",
...
}
}
The problem I have is with the Key3 structure which contains a key value of variable length. It is possible that the client sends me another key. How do I create a struct
for this in Go
Upvotes: 1
Views: 84