Put JSON libraries in C into another library

In order to enable std=c++11 for main project