eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

How to serialize the JSON #148

Open cabelo opened 7 years ago

cabelo commented 7 years ago

Hi, how to serialize json response?

pboettch commented 7 years ago

There are plenty of solutions. I'd recommend JSON for Modern C++ by Niels Lohmann. It is very simple to use and easy to integrate. Has a memory footprint, but if you're not in an extremely small system it can be OK.

cabelo commented 7 years ago

thank you so much