You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: