cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
JSON + Socket
JSON + Socket
Jan 27, 2012 at 12:39pm UTC
GnG
(40)
Hi all,
I have to send an image in json format by socket, please, how can I do it? i'm really lost.
Thanks in advanced.
Jan 27, 2012 at 1:35pm UTC
kbw
(9488)
Where do you want to send it?
Jan 29, 2012 at 12:22am UTC
xcompile
(1)
you can use base64-serialization for the binary data (the image)
checkout this for an example using boost
http://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-JSON-Parser-Generator-Implemented
Topic archived. No new replies allowed.