Closed satoren closed 8 years ago
if exclude "explicit" from constructors,can write like below in C++11.
picojson::value a = picojson::array{3LL, "v", 3.0, 4.0, "test", false, true}; picojson::value o = picojson::object{ { "a","value" }, { "b",false }, { "c",445.0 }, { "d","text" }, {"array", picojson::array{3LL, "v", 23.0, 4.0, "test", false, true} }, {"child", picojson::object{{"key","value"}}}, };
if exclude "explicit" from constructors,can write like below in C++11.