-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Combine json objects into one? #1165
Copy link
Copy link
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
The title might not correctly describe what I'm attempting but essentially I have one structure that I can convert to a json string but I want to append a list of objects also to be converted into json strings and send that all together as one packet.
Something like this.
`json Packet;
Packet["PacketType"] = config::packet::type::TYPE;
Packet["ArrayOfObjects"] = ArrayOfObjects;`
Or make two separate json objects and combine them.
Another question I have is, does an array of objects have to be set at initialisation?