mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
more on #290
This commit is contained in:
@ -5,7 +5,7 @@ using json = nlohmann::json;
|
||||
int main()
|
||||
{
|
||||
// a JSON text
|
||||
std::string text = R"(
|
||||
auto text = R"(
|
||||
{
|
||||
"Image": {
|
||||
"Width": 800,
|
||||
@ -44,4 +44,4 @@ int main()
|
||||
// parse (with callback) and serialize JSON
|
||||
json j_filtered = json::parse(text, cb);
|
||||
std::cout << std::setw(4) << j_filtered << '\n';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user