samedi 8 février 2020

Create Json Array in ATL COM application

I want to create Json array in my legacy ATL COM project, i tried https://github.com/nlohmann/json but it looks like it requires C++ 11, i dont think our project has got C++ 11.

if i include below code in sample C++ win 32 application, its throwing errors.

#include "include\include\nlohmann\json.hpp"

// for convenience
using json = nlohmann::json;

enter image description here

Is there any alternative simple library available to create Json array in C++.

thanks

Aucun commentaire:

Enregistrer un commentaire