Closed Akagi201 closed 6 years ago
[ { "client_id": 1000, "edge_ip": "xx.xx.xx.xx", "edge_port": port1, "timestamp":123456 }, { "client_id": 1001, "edge_ip": "yy.yy.yy.yy", "edge_port": port2, "timestamp":123456 } ]
How can I set the client_id with sjson?
client_id
sjson.Set(json, "1.client_id", 1002)
Will change the client_id object at index 1 to 1002.
1002
How can I set the
client_id
with sjson?