I am new to this forum, so perhaps this question has been asked before.
I am using JSON (frozen) library where I need to send an array of c++ structure as a JSON string from my c++ Server to a web client application.
Are there any sample code snippets that can guide me on the usage of library to achieve this?
My c++ structure is as below:
sCPP
{
int l, r, s;
}
The server application generates an array of sCPP elements, that I need to to convert to JSON string before sending to my web client.
Not very clear from the documentation.
Some example code snippets may be helpful.
thanks
Comments
Perhaps this part of the documentation might help. Its a good start.
Results: