Okay so I have a structure like so ...
{"Controllers": [{"Controller": { "Key":"Value"...}}]
I would like to add a new key named "Ports" for an array so
{"Controllers": [{"Controller": { "Key":"Value"...}, "Ports":[]}]
I tried
jblob.S("Controllers").Index(i).S("Controller").Array("Ports")
The query works for jblob.S("Controllers").Index(i).S("Controller") BTW
which gives me ...
Cannot initialize one variable with 2 values
What the proper way to do it?
Okay so I have a structure like so ...
{"Controllers": [{"Controller": { "Key":"Value"...}}]I would like to add a new key named "Ports" for an array so
{"Controllers": [{"Controller": { "Key":"Value"...}, "Ports":[]}]I tried
jblob.S("Controllers").Index(i).S("Controller").Array("Ports")The query works for
jblob.S("Controllers").Index(i).S("Controller")BTWwhich gives me ...
Cannot initialize one variable with 2 values
What the proper way to do it?