I want to pass this information to another application but in a format that looks like this:
1594282837961-0 Harry 54 Jane 41 Kevin 32 Laura 25 Nicky 36
I have been trying multi dimensional vector manipulations to the code as I understand that this part of the output is a nested array within the default array response from redis. Nothing is working at the moment.
Hello,
I am trying to format output data within the fields portion of the XADD command. With the following commands:
const std::string session_name = "Data";
This is the current output:
1594282837961-0Harry54Jane41Kevin32Laura25Nicky36
I want to pass this information to another application but in a format that looks like this:
1594282837961-0 Harry 54 Jane 41 Kevin 32 Laura 25 Nicky 36
I have been trying multi dimensional vector manipulations to the code as I understand that this part of the output is a nested array within the default array response from redis. Nothing is working at the moment.
Can anyone help with this please? Thanks.